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
|
" 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{{{
|
||||||
|
|
9
init.vim
9
init.vim
|
@ -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!
|
||||||
|
|
Loading…
Reference in New Issue