diff --git a/init.vim b/init.vim index 9876014..1e5b458 100644 --- a/init.vim +++ b/init.vim @@ -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 " }}}