From ee2332f3b40223f555ed9545931a0dfef9320aed Mon Sep 17 00:00:00 2001 From: Felix Van der Jeugt Date: Wed, 12 Apr 2017 10:17:20 +0200 Subject: [PATCH] Seems like fzf + grepper is the best combination Revert "Revert "try out fzf" (sorry Silox)" This reverts commit 9eaa594844680a2b6bd1ec417d1d07fce9794559. --- config/nvim/init.vim | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/config/nvim/init.vim b/config/nvim/init.vim index e97c561..e90fb36 100644 --- a/config/nvim/init.vim +++ b/config/nvim/init.vim @@ -63,7 +63,7 @@ Plug 'bling/vim-airline' Plug 'junegunn/vim-peekaboo' " Files Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' } -Plug 'ctrlpvim/ctrlp.vim' +Plug 'junegunn/fzf.vim' Plug 'mhinz/vim-grepper', { 'on': 'Grepper' } " Movement Plug 'easymotion/vim-easymotion' @@ -85,10 +85,6 @@ call plug#end() " Plugin configuration " -------------------- -let g:ctrlp_map='l' -let g:ctrlp_user_command=['.git/', 'git --git-dir=%s/.git ls-files . -co --exclude-standard'] -nnoremap s :CtrlPTag - let g:airline_powerline_fonts=1 nnoremap t :NERDTreeToggle @@ -168,6 +164,11 @@ map * (incsearch-nohl-*) map # (incsearch-nohl-#) map g* (incsearch-nohl-g*) map g# (incsearch-nohl-g#) + +" path for fzf install +set rtp+=/usr/share/vim/vimfiles/ +nnoremap l :Files +nnoremap s :Tags " Plugged }}} " vim: foldmethod=marker