# HG changeset patch # User Meredith Howard # Date 1486155012 18000 # Node ID 238a0de521e6b53baa0b8e11e638a5d797d8da73 # Parent 5df02ebeedf9643cc1d3a2cb3765dd9432432692 Don't mess with the cursor on commit or rebase stuff either. diff --git a/.vimrc b/.vimrc --- 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