Ignore position memory if it's COMMIT_EDITMSG.
This commit is contained in:
@@ -99,3 +99,4 @@ au BufNewFile,BufRead *.yml set shiftwidth=2
|
||||
au BufNewFile,BufRead Makefile set noexpandtab
|
||||
au BufReadPost * if line("'\"") > 0|if line("'\"") <= line("$")|exe("norm '\"")|else|exe "norm $"|endif|endif
|
||||
autocmd BufEnter * silent! lcd %:p:h
|
||||
autocmd BufReadPost COMMIT_EDITMSG exe "normal! gg"
|
||||
|
||||
Reference in New Issue
Block a user