Add gitgutter plugin
This commit is contained in:
@@ -158,3 +158,8 @@ inoremap <C-A> <C-O>:call Select()<CR>
|
||||
nnoremap <leader>ag :call fzf#vim#ag(expand('<cword>'), WithGitRoot())<CR>
|
||||
nnoremap <leader>tg :call fzf#vim#tags(expand('<cword>'), {'options': '--exact --select-1 --exit-0'})<CR>
|
||||
|
||||
" gitgutter
|
||||
nmap <leader>ggt <Esc>:GitGutterToggle<CR>
|
||||
nmap <leader>nh <Plug>GitGutterNextHunk
|
||||
nmap <leader>bh <Plug>GitGutterPrevHunk
|
||||
|
||||
|
||||
Reference in New Issue
Block a user