vim:aucmd: Do not start in insert mode in new file
This is annoying when moving through the jumplist and jumping over a deleted file (which now is a 'new' file).
This commit is contained in:
@@ -132,9 +132,3 @@ augroup stdin_not_modified
|
||||
au!
|
||||
au StdinReadPost * set nomodified
|
||||
augroup END
|
||||
|
||||
" Start in insert mode when opening a new file that does not exist yet
|
||||
augroup newfile_insert
|
||||
au!
|
||||
autocmd BufNewFile * startinsert
|
||||
augroup END
|
||||
|
||||
Reference in New Issue
Block a user