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:
2023-05-24 23:53:10 +02:00
parent 68fdf4ec13
commit 5d4954f10e

View File

@@ -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