Unmap jumps that don't work in :Gstatus

This commit is contained in:
Tim Pope 2010-01-11 20:20:55 -05:00
parent 79339bfa81
commit 7593d30b46

View File

@ -1184,6 +1184,8 @@ function! s:BufReadIndex()
nnoremap <buffer> <silent> - :<C-U>execute <SID>StageToggle(line('.'),line('.')+v:count1-1)<CR> nnoremap <buffer> <silent> - :<C-U>execute <SID>StageToggle(line('.'),line('.')+v:count1-1)<CR>
xnoremap <buffer> <silent> - :<C-U>execute <SID>StageToggle(line("'<"),line("'>"))<CR> xnoremap <buffer> <silent> - :<C-U>execute <SID>StageToggle(line("'<"),line("'>"))<CR>
call s:JumpInit() call s:JumpInit()
nunmap <buffer> P
nunmap <buffer> ~
nnoremap <buffer> <silent> C :<C-U>Gcommit<CR> nnoremap <buffer> <silent> C :<C-U>Gcommit<CR>
catch /^fugitive:/ catch /^fugitive:/
return 'echoerr v:errmsg' return 'echoerr v:errmsg'