From 99b6755c7f793198043d4ff48a76ea3428dc8cab Mon Sep 17 00:00:00 2001 From: Austen Adler Date: Wed, 20 Aug 2014 20:09:19 -0600 Subject: [PATCH] Minor changes --- git/gitconfig | 2 -- vim/vimrc | 26 +++++++++++++------------- 2 files changed, 13 insertions(+), 15 deletions(-) diff --git a/git/gitconfig b/git/gitconfig index 3cf5f5e..7f685d1 100644 --- a/git/gitconfig +++ b/git/gitconfig @@ -11,8 +11,6 @@ st = status br = branch -av hist = log --all --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%ci) %C(bold blue)<%an>%Creset' --abbrev-commit - type = cat-file -t - dump = cat-file -p d = difftool cbranch = !sh -c 'git commit -m \"$2\"&&git branch $1&&git reset --hard HEAD~1&&git co \"$1\"' - size = "!git diff --cached --binary | wc -c | numfmt --to=iec-i" diff --git a/vim/vimrc b/vim/vimrc index 4721d94..8858967 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -19,7 +19,7 @@ au FileType xml setlocal omnifunc=xmlcomplete#CompleteTags "nnoremap :UndotreeToggle "inoremap pumvisible() ? "\" : "\" imap \ neosnippet#expandable_or_jumpable() ? "\(neosnippet_expand_or_jump)" : pumvisible() ? "\" : "\" -smap \ neosnippet#expandable_or_jumpable() ? "\(neosnippet_expand_or_jump)" : "\" +smap \ neosnippet#expandable_or_jumpable() ? "\(neosnippet_expand_or_jump)" : "\" nnoremap \| vl nnoremap - sj nnoremap q @@ -31,9 +31,9 @@ nnoremap :TagbarToggle nnoremap + nnoremap - nnoremap Q -noremap -nnoremap a :!git st:!ls:!git a -nnoremap up :!git pull origin +nnoremap +nnoremap a :!git st:!ls:!git a +nnoremap up :!git pull origin nnoremap st :!git st nnoremap ci :!git st:!git ci "" nnoremap log :!git hist @@ -67,7 +67,6 @@ nnoremap :nohlsearchgzo nnoremap U nnoremap K ik$ nnoremap :upg -"nnoremap s c vnoremap gj j vnoremap gk k vnoremap j gj @@ -86,9 +85,9 @@ nnoremap j nnoremap k nnoremap l map , (easymotion-prefix) -noremap ! :! +nnoremap ! :! nnoremap ; : -noremap J Jx +nnoremap J Jx vnoremap < >gv nnoremap @@ -125,10 +124,12 @@ nnoremap z _\| nnoremap bun G?Bundleyyjp$hdi'"+gP0Wl3d/\/xjyyP$"+gp:nohlsearch:up:BundleInstall nnoremap :CtrlPFunky nnoremap :set invpaste -nmap [e -nmap ]e -vmap [egv -vmap ]egv +nnoremap [e +nnoremap ]e +vnoremap [egv +vnoremap ]egv +nnoremap / /\v +vnoremap / /\v set guicursor+=n-v-c:blinkon0 set formatoptions-=r set formatoptions-=o @@ -296,7 +297,7 @@ Bundle 'honza/vim-snippets' " | https://github.com/honza/vim-snippets Bundle 'Shougo/neocomplete.vim' " | https://github.com/Shougo/neocomplete.vim - " | + " | "DO NOT DELETE LINE ABOVE OR \bun WILL BREAK filetype plugin indent on if exists("+undofile") @@ -327,4 +328,3 @@ else endif silent! colorscheme fruity nnoremap W :%s/\s\+$//:let @/='' -nnoremap H *:AckFromSearch!