set split behaviour, center on insert autocmd
This commit is contained in:
parent
5e27aaedaf
commit
94051bca28
9
init.vim
9
init.vim
|
@ -216,6 +216,8 @@ set directory=~/.vim/.vimtmp
|
|||
|
||||
set viewoptions-=options
|
||||
|
||||
set splitbelow splitright
|
||||
|
||||
set ignorecase
|
||||
set smartcase
|
||||
|
||||
|
@ -433,6 +435,13 @@ iabbrev ct'' content-type: '';
|
|||
"----------------------------------------------------------------------------}}}
|
||||
" #autocommands {{{
|
||||
|
||||
" center on insert {{{
|
||||
augroup CenterInsert
|
||||
autocmd!
|
||||
autocmd InsertEnter * norm zt
|
||||
augroup END
|
||||
|
||||
" }}}
|
||||
" template files {{{
|
||||
augroup templates
|
||||
autocmd!
|
||||
|
|
Loading…
Reference in New Issue