From 5f149871f7722c90c50e60cd4ce3faec1a6b0723 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Sun, 12 Aug 2018 17:41:31 +0800 Subject: [PATCH] Add ctrlp --- vimrc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/vimrc b/vimrc index c22774f..7714728 100644 --- a/vimrc +++ b/vimrc @@ -47,6 +47,8 @@ if has("nvim") endif Plug 'vim-airline/vim-airline' Plug 'vim-airline/vim-airline-themes' +Plug 'kien/ctrlp.vim' +Plug 'hasufell/cpsm', { 'do': 'PY3=ON ./install.sh' } " local_vimrc Plug 'LucHermitte/lh-vim-lib' @@ -247,6 +249,12 @@ let NERDCreateDefaultMappings=0 let g:haddock_browser='/usr/bin/firefox' let g:haddock_browser_callformat='%s file://%s >/dev/null 2>&1 &' +" ctrlp +let g:ctrlp_user_command = 'fd --type f --color=never "" %s' +let g:ctrlp_use_caching = 0 +let g:ctrlp_match_func = { 'match': 'cpsm#CtrlPMatch' } + + " ==== conque ==== " command aliases