motiejus/dotfiles

Unnamed repository; edit this file 'description' to name the repository.
git clone https://git.jakstys.lt/motiejus/dotfiles.git
Log | Tree | Refs | README | LICENSE

commit 4f80883e05238c72e3746e616618e55ca1852f77 (tree)
parent bf14c9c8a3425b3dcedffbc82aad7fc2e5db779e
Author: Tim Pope <code@tpope.net>
Date:   Thu, 10 Apr 2014 14:53:49 -0400

Limit scope of ctrlp.vim :Gstatus hack

Diffstat:
Mplugin/fugitive.vim | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim @@ -763,7 +763,7 @@ function! s:StageNext(count) abort endfunction function! s:StagePrevious(count) abort - if line('.') == 1 && exists(':CtrlP') + if line('.') == 1 && exists(':CtrlP') && get(g:, 'ctrl_p_map') =~? '^<c-p>$' return 'CtrlP '.fnameescape(s:repo().tree()) else for i in range(a:count)