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 {{{ " #autocommands {{{
" center on insert {{{ " template files {{{
augroup CenterInsert augroup templates
autocmd! autocmd!
autocmd InsertEnter * norm zt autocmd BufNewFile *.sh 0read ~/.config/nvim/templates/template.sh | normal G
augroup END augroup END
" }}} " }}}