Update vimrc
This commit is contained in:
parent
f3d39d8f00
commit
3332dc8c36
16
vimrc
16
vimrc
|
@ -182,9 +182,24 @@ let g:lightline = {
|
|||
\ 'gobuild': 'go#statusline#Show',
|
||||
\ 'gitbranch': 'FugitiveHead',
|
||||
\ },
|
||||
\ 'mode_map': {
|
||||
\ 'n' : 'N',
|
||||
\ 'i' : 'I',
|
||||
\ 'R' : 'R',
|
||||
\ 'v' : 'V',
|
||||
\ 'V' : 'V-LINE',
|
||||
\ "\<C-v>": 'V-BLOCK',
|
||||
\ 'c' : 'C',
|
||||
\ 's' : 'S',
|
||||
\ 'S' : 'S-LINE',
|
||||
\ "\<C-s>": 'S-BLOCK',
|
||||
\ 't': 'TERM',
|
||||
\ },
|
||||
\ }
|
||||
|
||||
" vim-gitgutter configuration
|
||||
packadd! vim-gitgutter
|
||||
set signcolumn=yes
|
||||
nnoremap hg :GitGutterLineHighlightsToggle<cr>
|
||||
nmap ]h <Plug>(GitGutterNextHunk)
|
||||
nmap [h <Plug>(GitGutterPrevHunk)
|
||||
|
@ -280,7 +295,6 @@ packadd! ale
|
|||
" load other plugins:
|
||||
packadd! tmux-complete.vim
|
||||
packadd! vim-commentary
|
||||
packadd! vim-gitgutter
|
||||
" Requires both fzf.vim plugin to be manually installed:
|
||||
" https://github.com/junegunn/fzf/blob/master/plugin/fzf.vim
|
||||
" and also this separate plugin, which is loaded here:
|
||||
|
|
Loading…
Reference in New Issue