From 7593d30b460ef9911b5a9dda636c5ce41203a042 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Mon, 11 Jan 2010 20:20:55 -0500 Subject: [PATCH] Unmap jumps that don't work in :Gstatus --- plugin/fugitive.vim | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim index 3fa3c23..686c49a 100644 --- a/plugin/fugitive.vim +++ b/plugin/fugitive.vim @@ -1184,6 +1184,8 @@ function! s:BufReadIndex() nnoremap - :execute StageToggle(line('.'),line('.')+v:count1-1) xnoremap - :execute StageToggle(line("'<"),line("'>")) call s:JumpInit() + nunmap P + nunmap ~ nnoremap C :Gcommit catch /^fugitive:/ return 'echoerr v:errmsg'