vim:keys:TODO: Add <leader>[h

This commit is contained in:
2025-09-03 13:33:09 +02:00
parent 2bceafeb4e
commit 456f71d939

View File

@@ -196,6 +196,8 @@ if exists('g:loaded_gitgutter')
xmap ih <Plug>(GitGutterTextObjectInnerVisual)
xmap ah <Plug>(GitGutterTextObjectOuterVisual)
" Same for hunk navigation bindings + center line
" TODO: <leader>[h to jump between **all** hunks across all modified
" files. (similar to `add -p`)
nmap [h <Plug>(GitGutterPrevHunk)zz
nmap ]h <Plug>(GitGutterNextHunk)zz
endif