From 41383131b861c12abd82ad55a9546b9b715925a0 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Sat, 8 Sep 2012 11:41:32 -0400 Subject: [PATCH] Support ctrlp.vim in historical buffers --- plugin/fugitive.vim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim index 3c302cf..c3a9c56 100644 --- a/plugin/fugitive.vim +++ b/plugin/fugitive.vim @@ -2237,6 +2237,9 @@ augroup END function! s:JumpInit() abort nnoremap :exe GF("edit") if !&modifiable + if exists(':CtrlP') + nnoremap :exe 'CtrlP '.fnameescape(repo().tree()) + endif nnoremap o :exe GF("split") nnoremap S :exe GF("vsplit") nnoremap O :exe GF("tabedit")