mirror of
https://github.com/airblade/vim-gitgutter.git
synced 2025-11-08 11:33:48 -05:00
Fix example mappings
This commit is contained in:
committed by
Andy Stewart
parent
5c73edb3c2
commit
af20a9fcff
@@ -142,11 +142,9 @@ Both of those take a preceding count.
|
|||||||
|
|
||||||
To set your own mappings for these, for example `]h` and `[h`:
|
To set your own mappings for these, for example `]h` and `[h`:
|
||||||
|
|
||||||
In the lines below I have deleted brackets around GitGutter{Next,Prev}Hunk:
|
|
||||||
|
|
||||||
```viml
|
```viml
|
||||||
nmap ]h <Plug>GitGutterNextHunk
|
nmap ]h <Plug>(GitGutterNextHunk)
|
||||||
nmap [h <Plug>GitGutterPrevHunk
|
nmap [h <Plug>(GitGutterPrevHunk)
|
||||||
```
|
```
|
||||||
|
|
||||||
You can load all your hunks into the quickfix list with `:GitGutterQuickFix`. Note this ignores any unsaved changes in your buffers.
|
You can load all your hunks into the quickfix list with `:GitGutterQuickFix`. Note this ignores any unsaved changes in your buffers.
|
||||||
|
|||||||
Reference in New Issue
Block a user