vim:autocmd: Start insert mode on new file

This commit is contained in:
2022-11-01 16:55:42 +01:00
parent b22085777e
commit 684421d337

View File

@@ -68,3 +68,9 @@ 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