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 bf14c9c8a3425b3dcedffbc82aad7fc2e5db779e (tree)
parent e7c7149434e819ed385bec004a45a222f74e3f1f
Author: Tim Pope <code@tpope.net>
Date:   Thu, 10 Apr 2014 14:51:37 -0400

Drop support for CtrlP in history

This is fairly straightforward to do outside of fugitive.vim, and
there's no reason to give it privileged treatment here.

Closes #403.

Diffstat:
Mplugin/fugitive.vim | 3---
1 file changed, 0 insertions(+), 3 deletions(-)

diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim @@ -2349,9 +2349,6 @@ augroup END function! s:JumpInit() abort nnoremap <buffer> <silent> <CR> :<C-U>exe <SID>GF("edit")<CR> if !&modifiable - if exists(':CtrlP') - nnoremap <buffer> <silent> <C-P> :<C-U>exe 'CtrlP '.fnameescape(<SID>repo().tree())<CR> - endif nnoremap <buffer> <silent> o :<C-U>exe <SID>GF("split")<CR> nnoremap <buffer> <silent> S :<C-U>exe <SID>GF("vsplit")<CR> nnoremap <buffer> <silent> O :<C-U>exe <SID>GF("tabedit")<CR>