diff --git a/doc/fugitive.txt b/doc/fugitive.txt index 5e0a3a4..8d585c6 100644 --- a/doc/fugitive.txt +++ b/doc/fugitive.txt @@ -55,7 +55,7 @@ that are part of Git repositories). p |:Git| add --patch p |:Git| reset --patch (staged files) q close status - R reload status + r reload status S |:Gvsplit| *fugitive-:Gcommit* diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim index 9d8bcb7..9c8b097 100644 --- a/plugin/fugitive.vim +++ b/plugin/fugitive.vim @@ -2156,6 +2156,7 @@ function! s:BufReadIndex() abort nnoremap p :execute StagePatch(line('.'),line('.')+v:count1-1) xnoremap p :execute StagePatch(line("'<"),line("'>")) nnoremap q :if bufnr('$') == 1quitelsebdeleteendif + nnoremap r :edit nnoremap R :edit nnoremap g? :help fugitive-:Gstatus nnoremap :help fugitive-:Gstatus