diff --git a/vim/vimrc.symlink b/vim/vimrc.symlink index 4c35afb..f90a481 100644 --- a/vim/vimrc.symlink +++ b/vim/vimrc.symlink @@ -70,6 +70,12 @@ nnoremap t :call PickFile() nnoremap b :call PickBuffer() nnoremap n :call PickFileVerticalSplit() +" Git blame +" +" Replace the buffer contents with git blame. +" Hit u to undo +nnoremap a :1,$!git blame % + " Tab config options " " In general, I prefer spaces to tabs, and 2-space indentation. These @@ -319,7 +325,7 @@ augroup vimrcEx \ endif " Language whitespace settings - autocmd FileType javascript,json,c,xml,java,php,python setl sw=4 sts=4 + autocmd FileType snippets,javascript,json,c,xml,java,php,python setl et sw=4 sts=4 autocmd FileType make setl noet sw=8 sts=8 ts=8 " Hard wrap prose