mirror of
https://github.com/airblade/vim-gitgutter.git
synced 2025-11-08 11:33:48 -05:00
Document how to open quickfix list after :GitGutterQuickFix
See #676, #749.
This commit is contained in:
@@ -168,7 +168,11 @@ When you jump between hunks, a message like `Hunk 4 of 11` is shown on the comma
|
||||
let g:gitgutter_show_msg_on_hunk_jumping = 0
|
||||
```
|
||||
|
||||
You can load all your hunks into the quickfix list with `:GitGutterQuickFix`. Note this ignores any unsaved changes in your buffers. If the option `g:gitgutter_use_location_list` is set, this command will load hunks into the current window's location list instead.
|
||||
You can load all your hunks into the quickfix list with `:GitGutterQuickFix`. Note this ignores any unsaved changes in your buffers. If the option `g:gitgutter_use_location_list` is set, this command will load hunks into the current window's location list instead. Use `:copen` (or `:lopen`) to open the quickfix / location list or add a map like this:
|
||||
|
||||
```viml
|
||||
nmap <Leader>gq :GitGutterQuickFix\|copen<CR>
|
||||
```
|
||||
|
||||
You can stage or undo an individual hunk when your cursor is in it:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user