From: Simon Ruderich Date: Wed, 13 Nov 2019 08:38:57 +0000 (+0100) Subject: vim: vimrc: prefer fzf over CtrlP X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=0dd903507ae3f0fea3d284418ddad55132070ffb;p=config%2Fdotfiles.git vim: vimrc: prefer fzf over CtrlP --- diff --git a/vim/vimrc b/vim/vimrc index 8646cee..86c1e70 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -946,6 +946,16 @@ if has('eval') " Only highlight the current placeholder. let g:xptemplate_highlight = 'current' +" Fzf settings + + " Use FZF if available + if executable('fzf') + nmap :FZF + + " Disable CtrlP + let g:ctrlp_map = '' + endif + " CtrlP settings. " Don't manage the working directory (the default setting is too slow for " me).