undo center on insert

This commit is contained in:
Ray Elliott 2020-04-24 20:49:23 +01:00
parent 94051bca28
commit 96bc2b0b98
1 changed files with 3 additions and 3 deletions

View File

@ -435,10 +435,10 @@ iabbrev ct'' content-type: '';
"----------------------------------------------------------------------------}}}
" #autocommands {{{
" center on insert {{{
augroup CenterInsert
" template files {{{
augroup templates
autocmd!
autocmd InsertEnter * norm zt
autocmd BufNewFile *.sh 0read ~/.config/nvim/templates/template.sh | normal G
augroup END
" }}}