mirror of
https://github.com/airblade/vim-gitgutter.git
synced 2025-11-09 12:03:48 -05:00
Clarify mappings.
This commit is contained in:
@@ -199,16 +199,17 @@ To disable all key maps:
|
|||||||
let g:gitgutter_map_keys = 0
|
let g:gitgutter_map_keys = 0
|
||||||
<
|
<
|
||||||
|
|
||||||
To change the hunk-jumping maps:
|
To change the hunk-jumping maps (defaults shown):
|
||||||
>
|
>
|
||||||
nmap [h <Plug>GitGutterPrevHunk
|
nmap [c <Plug>GitGutterPrevHunk
|
||||||
nmap ]h <Plug>GitGutterNextHunk
|
nmap ]c <Plug>GitGutterNextHunk
|
||||||
<
|
<
|
||||||
|
|
||||||
To change the hunk-staging/reverting maps:
|
To change the hunk-staging/reverting/previewing maps (defaults shown):
|
||||||
>
|
>
|
||||||
nmap <Leader>hs <Plug>GitGutterStageHunk
|
nmap <Leader>hs <Plug>GitGutterStageHunk
|
||||||
nmap <Leader>hr <Plug>GitGutterRevertHunk
|
nmap <Leader>hr <Plug>GitGutterRevertHunk
|
||||||
|
nmap <Leader>hp <Plug>GitGutterPreviewHunk
|
||||||
<
|
<
|
||||||
|
|
||||||
TO ESCAPE GREP
|
TO ESCAPE GREP
|
||||||
|
|||||||
Reference in New Issue
Block a user