Fri, 03 Feb 2017 15:50:12 -0500
Don't mess with the cursor on commit or rebase stuff either.
.vimrc | file | annotate | diff | comparison | revisions |
--- a/.vimrc +++ b/.vimrc @@ -302,7 +302,7 @@ augroup vimrc " Jump to last known pos autocmd BufReadPost * - \ if &filetype != 'mail' && line("'\"") >= 1 && line("'\"") <= line("$") | + \ if &filetype !~ 'mail\|^git\|^hg' && line("'\"") >= 1 && line("'\"") <= line("$") | \ exe "normal! g`\"" | \ endif