From 677cf422c3151a168ae11b0c7788f7e62a871eb5 Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Thu, 16 Aug 2018 19:05:54 -0400 Subject: [PATCH] start over with vim. add ~/bin --- Makefile | 10 ++++++++-- bin/bin/upload-screenshot | 9 +++++++++ fish/.config/fish/fishd.zaphod | 1 + vim/.spf13-vim | 1 - vim/.vimrc | 30 ++++++++++++++++++++++++++++++ 5 files changed, 48 insertions(+), 3 deletions(-) create mode 100755 bin/bin/upload-screenshot delete mode 160000 vim/.spf13-vim create mode 100644 vim/.vimrc diff --git a/Makefile b/Makefile index 89a73d6..426e73e 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ endif install: @make $(UNAME) -Linux: bash fish git mutt byobu weechat vim nvim gnupg +Linux: bash fish git mutt byobu weechat vim nvim gnupg bin Windows: bash git vim Other: bash git vim @@ -31,6 +31,7 @@ clean: stow -t "$$HOME" -D byobu stow -t "$$HOME" -D weechat stow -t "$$HOME" -D gnupg + stow -t "$$HOME" -D bin bash: @printf "$(YELLOW)--- bash -----------------------------------------------\n$(RESET)" @@ -74,5 +75,10 @@ gnupg: chmod 700 "$$HOME/.gnupg" stow -t "$$HOME" gnupg -.PHONY: bash fish git vim nvim mutt byobu weechat gnupg clean install Windows Linux Other +bin: + @printf "$(YELLOW)--- bin ------------------------------------------------\n$(RESET)" + stow -t "$$HOME" bin + + +.PHONY: bash fish git vim nvim mutt byobu weechat gnupg bin clean install Windows Linux Other diff --git a/bin/bin/upload-screenshot b/bin/bin/upload-screenshot new file mode 100755 index 0000000..021fdc7 --- /dev/null +++ b/bin/bin/upload-screenshot @@ -0,0 +1,9 @@ +#!/bin/bash + +rename 's/ /-/g' ~/Pictures/*.png + +latest=$(ls -Art ~/Pictures | tail -n 1) + +pb "~/Pictures/$latest" | xclip -selection clipboard +notify-send "on yr clipbrd" + diff --git a/fish/.config/fish/fishd.zaphod b/fish/.config/fish/fishd.zaphod index 93eb0b8..3f23213 100644 --- a/fish/.config/fish/fishd.zaphod +++ b/fish/.config/fish/fishd.zaphod @@ -29,3 +29,4 @@ SET fish_pager_color_completion:\x1d SET fish_pager_color_description:B3A06D\x1eyellow SET fish_pager_color_prefix:white\x1e\x2d\x2dbold\x1e\x2d\x2dunderline SET fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan +SET fisher_dependency_count:bass\x1egetopts\x1egitignore\x1envm\x1espin diff --git a/vim/.spf13-vim b/vim/.spf13-vim deleted file mode 160000 index 1ce5f23..0000000 --- a/vim/.spf13-vim +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 1ce5f23997f6dd82235c6936c5c47b3f1d1b4e50 diff --git a/vim/.vimrc b/vim/.vimrc new file mode 100644 index 0000000..7da0ede --- /dev/null +++ b/vim/.vimrc @@ -0,0 +1,30 @@ +filetype plugin indent on + +syntax enable + +set autoindent +set backspace=indent,eol,start +set complete-=i +set smarttab + +set nrformats-=octal + +set incsearch + +set laststatus=2 +set ruler +set wildmenu + +set display+=lastline + +set encoding=utf-8 + +set autoread + +set history=1000 +set tabpagemax=50 + +inoremap u + +" vim:set ft=vim et sw=2: +