dgy
/
hexagons
Archived
1
0
Fork 0
This repository has been archived on 2021-03-24. You can view files and clone it, but cannot push or open issues or pull requests.
hexagons/.config/nvim/plugin/gitgutter.vim

15 lines
471 B
VimL

let g:gitgutter_enabled = 1
let g:gitgutter_terminal_reports_focus=0
let g:gitgutter_map_keys = 0
let g:gitgutter_highlight_linenrs = 1
let g:gitgutter_set_sign_backgrounds = 1
let g:gitgutter_grep = 'rg --color=never'
let g:fugitive_summary_format = "%an\t%s"
nmap {g <Plug>(GitGutterPrevHunk)zz
nmap }g <Plug>(GitGutterNextHunk)zz
nmap <Space>+ <Plug>(GitGutterStageHunk)
nmap <Space>- <Plug>(GitGutterUndoHunk)
nmap <Space>p <Plug>(GitGutterPreviewHunk)