commit 64c690603e87d4154c03272ed235cedd59fef751 (tree)
parent 269c89ef598e6cd0fca57f5e1b9202bb86de2ca7
Author: Tim Pope <code@tpope.net>
Date: Sat, 21 Jun 2014 09:33:59 -0400
Change reload map to r
Diffstat:
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git 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
@@ -2156,6 +2156,7 @@ function! s:BufReadIndex() abort
nnoremap <buffer> <silent> p :<C-U>execute <SID>StagePatch(line('.'),line('.')+v:count1-1)<CR>
xnoremap <buffer> <silent> p :<C-U>execute <SID>StagePatch(line("'<"),line("'>"))<CR>
nnoremap <buffer> <silent> q :<C-U>if bufnr('$') == 1<Bar>quit<Bar>else<Bar>bdelete<Bar>endif<CR>
+ nnoremap <buffer> <silent> r :<C-U>edit<CR>
nnoremap <buffer> <silent> R :<C-U>edit<CR>
nnoremap <buffer> <silent> g? :help fugitive-:Gstatus<CR>
nnoremap <buffer> <silent> <F1> :help fugitive-:Gstatus<CR>