Merge branch 'master' of https://git.rayelliott.dev/dots/nvim
This commit is contained in:
commit
83c527271b
|
@ -104,12 +104,12 @@ call plug#begin('~/.config/nvim/bundle')
|
|||
" https://github.com/airblade/vim-gitgutter/blob/master/README.mkd
|
||||
Plug 'airblade/vim-gitgutter'
|
||||
|
||||
nmap ]h <Plug>GitGutterNextHunk
|
||||
nmap [h <Plug>GitGutterPrevHunk
|
||||
omap ih <Plug>GitGutterTextObjectInnerPending
|
||||
omap ah <Plug>GitGutterTextObjectOuterPending
|
||||
xmap ih <Plug>GitGutterTextObjectInnerVisual
|
||||
xmap ah <Plug>GitGutterTextObjectOuterVisual
|
||||
nmap ]h <Plug>(GitGutterNextHunk)
|
||||
nmap [h <Plug>(GitGutterPrevHunk)
|
||||
omap ih <Plug>(GitGutterTextObjectInnerPending)
|
||||
omap ah <Plug>(GitGutterTextObjectOuterPending)
|
||||
xmap ih <Plug>(GitGutterTextObjectInnerVisual)
|
||||
xmap ah <Plug>(GitGutterTextObjectOuterVisual)
|
||||
|
||||
"}}}
|
||||
" #MatchTagAlways{{{
|
||||
|
|
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