This commit is contained in:
Ray Elliott 2020-04-24 12:02:19 +00:00
commit 83c527271b
2 changed files with 15 additions and 6 deletions

View File

@ -104,12 +104,12 @@ call plug#begin('~/.config/nvim/bundle')
" https://github.com/airblade/vim-gitgutter/blob/master/README.mkd " https://github.com/airblade/vim-gitgutter/blob/master/README.mkd
Plug 'airblade/vim-gitgutter' Plug 'airblade/vim-gitgutter'
nmap ]h <Plug>GitGutterNextHunk nmap ]h <Plug>(GitGutterNextHunk)
nmap [h <Plug>GitGutterPrevHunk nmap [h <Plug>(GitGutterPrevHunk)
omap ih <Plug>GitGutterTextObjectInnerPending omap ih <Plug>(GitGutterTextObjectInnerPending)
omap ah <Plug>GitGutterTextObjectOuterPending omap ah <Plug>(GitGutterTextObjectOuterPending)
xmap ih <Plug>GitGutterTextObjectInnerVisual xmap ih <Plug>(GitGutterTextObjectInnerVisual)
xmap ah <Plug>GitGutterTextObjectOuterVisual xmap ah <Plug>(GitGutterTextObjectOuterVisual)
"}}} "}}}
" #MatchTagAlways{{{ " #MatchTagAlways{{{

View File

@ -216,6 +216,8 @@ set directory=~/.vim/.vimtmp
set viewoptions-=options set viewoptions-=options
set splitbelow splitright
set ignorecase set ignorecase
set smartcase set smartcase
@ -433,6 +435,13 @@ iabbrev ct'' content-type: '';
"----------------------------------------------------------------------------}}} "----------------------------------------------------------------------------}}}
" #autocommands {{{ " #autocommands {{{
" center on insert {{{
augroup CenterInsert
autocmd!
autocmd InsertEnter * norm zt
augroup END
" }}}
" template files {{{ " template files {{{
augroup templates augroup templates
autocmd! autocmd!