commit 3f703b6e03c4a6f28fa9f520a85374da86efc253 (tree)
parent 9afeebf32e9bfd2a3ffc8f3e50e68651f88afaa8
Author: Tim Pope <code@tpope.net>
Date: Mon, 22 Oct 2012 16:37:42 -0400
Replace :Gstatus cv with cva and cvc
My rebuttal to #263.
Diffstat:
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/doc/fugitive.txt b/doc/fugitive.txt
@@ -39,9 +39,11 @@ that are part of Git repositories).
<CR> |:Gedit|
- |:Git| add
- |:Git| reset (staged files)
- C |:Gcommit|
cA |:Gcommit| --amend --reuse-message=HEAD
ca |:Gcommit| --amend
+ cc |:Gcommit|
+ cva |:Gcommit| --amend --verbose
+ cvc |:Gcommit| --verbose
D |:Gdiff|
ds |:Gsdiff|
dp |:Git!| diff (p for patch; use :Gw to apply)
diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim
@@ -2048,7 +2048,8 @@ function! s:BufReadIndex()
nnoremap <buffer> <silent> cA :<C-U>Gcommit --amend --reuse-message=HEAD<CR>
nnoremap <buffer> <silent> ca :<C-U>Gcommit --amend<CR>
nnoremap <buffer> <silent> cc :<C-U>Gcommit<CR>
- nnoremap <buffer> <silent> cv :<C-U>Gcommit -v<CR>
+ nnoremap <buffer> <silent> cva :<C-U>Gcommit --amend --verbose<CR>
+ nnoremap <buffer> <silent> cvc :<C-U>Gcommit --verbose<CR>
nnoremap <buffer> <silent> D :<C-U>execute <SID>StageDiff('Gvdiff')<CR>
nnoremap <buffer> <silent> dd :<C-U>execute <SID>StageDiff('Gvdiff')<CR>
nnoremap <buffer> <silent> dh :<C-U>execute <SID>StageDiff('Gsdiff')<CR>