diff options
author | Jesse Luehrs <doy@tozt.net> | 2010-08-31 09:02:41 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2010-08-31 09:39:14 -0500 |
commit | 5d208393ed6ba1fc401d6223d638fa6b6798cdfd (patch) | |
tree | 72987f9fff2640f7dc10ebb81a48f24efa3b6e1f | |
parent | ba1c27d55f5c21dac9fa33101eb281f61522d6de (diff) | |
download | conf-5d208393ed6ba1fc401d6223d638fa6b6798cdfd.tar.gz conf-5d208393ed6ba1fc401d6223d638fa6b6798cdfd.zip |
don't restore cursor location for git commit message files
-rw-r--r-- | vimrc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -244,7 +244,7 @@ endif " Autocommands {{{ " When editing a file, always jump to the last cursor position {{{ autocmd BufReadPost * -\ if line("'\"") > 0 && line("'\"") <= line("$") | +\ if &filetype != 'gitcommit' && line("'\"") > 0 && line("'\"") <= line("$") | \ exe "normal g`\"" | \ endif " }}} |