~yerinalexey/dotfiles

ref: 3bb7991839c26fe59674184fc6822f7477751f93 dotfiles/nvim/git.vim -rw-r--r-- 501 bytes
3bb79918Alexey Yerin river: decrease wob height 5 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
" Git integration

" Prevent gitgutter from mapping its own keys
let g:gitgutter_map_keys = 0

" Close preview window on Escape
let g:gitgutter_close_preview_on_escape = 1

" Let vim-lsp overlap changes
let g:gitgutter_sign_priority = 9

" Jumping between hunks
nmap ) <Plug>(GitGutterNextHunk)
nmap ( <Plug>(GitGutterPrevHunk)

" Staging, restoring and previewing hunks
nmap <leader>hh <Plug>(GitGutterPreviewHunk)
nmap <leader>hs <Plug>(GitGutterStageHunk)
nmap <leader>hu <Plug>(GitGutterUndoHunk)