diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index 187baab..d537ad1 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -1563,6 +1563,8 @@ function! fugitive#BufReadStatus() abort nnoremap ds :execute StageDiff('Gsdiff') nnoremap dp :execute StageDiffEdit() nnoremap dv :execute StageDiff('Gvdiff') + nnoremap J :execute StageNext(v:count1) + nnoremap K :execute StagePrevious(v:count1) nnoremap P :execute StagePatch(line('.'),line('.')+v:count1-1) xnoremap P :execute StagePatch(line("'<"),line("'>")) nnoremap q :if bufnr('$') == 1quitelsebdeleteendif diff --git a/doc/fugitive.txt b/doc/fugitive.txt index 7cbb088..a2dc853 100644 --- a/doc/fugitive.txt +++ b/doc/fugitive.txt @@ -253,7 +253,7 @@ u Unstage (reset) the file or hunk under the cursor. Skip to the next file or hunk. *fugitive_CTRL-P* - Skip to the next file or hunk. + Skip to the previous file or hunk. *fugitive_X* X Discard the change under the cursor. This uses