From fa411ce822be49f676bfe0ee48850eb53d98f54e Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Tue, 29 Mar 2016 13:31:06 +0100 Subject: [vim] Replace CtrlP by fzf.vim --- vim/vimrc | 26 +++++++------------------- 1 file changed, 7 insertions(+), 19 deletions(-) diff --git a/vim/vimrc b/vim/vimrc index d0f6a78..ac8c579 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -4,20 +4,6 @@ Plug 'airblade/vim-gitgutter' Plug 'altercation/vim-colors-solarized' Plug 'beloglazov/vim-online-thesaurus' Plug 'christoomey/vim-tmux-navigator' -Plug 'ctrlpvim/ctrlp.vim' -let g:ctrlp_by_filename = 1 -let g:ctrlp_cmd = 'CtrlP' -let g:ctrlp_map = '' -let g:ctrlp_open_new_file = 't' -let g:ctrlp_show_hidden = 1 -let g:ctrlp_user_command = ['.git/', 'git --git-dir=%s/.git ls-files -oc --exclude-standard'] -let g:ctrlp_working_path_mode = 'r' -let g:ctrlp_prompt_mappings = { - \ 'PrtSelectMove("j")': [''], - \ 'PrtSelectMove("k")': [''], - \ 'PrtHistory(-1)': [''], - \ 'PrtHistory(1)': [''],} - Plug 'embear/vim-localvimrc' let g:localvimrc_ask = 0 let g:localvimrc_sandbox = 0 @@ -25,6 +11,8 @@ let g:localvimrc_sandbox = 0 Plug 'gregsexton/gitv', { 'on' : 'Gitv' } Plug 'honza/vim-snippets' Plug 'jamessan/vim-gnupg' +Plug 'junegunn/fzf.vim' +Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' } Plug 'junegunn/seoul256.vim' Plug 'junegunn/vim-easy-align' xmap ga (EasyAlign) @@ -135,7 +123,6 @@ else let g:syntastic_error_symbol = "✗" let g:syntastic_warning_symbol = "W" endif - call plug#end() let g:tex_conceal= 'adgm' @@ -278,11 +265,12 @@ if has("nvim") nnoremap :w nnoremap :q - nnoremap :tabnew + nnoremap :tabnew - nnoremap :CtrlPBuffer - nnoremap :CtrlP - nnoremap :CtrlPMRU + nnoremap :Buffers + nnoremap :Files + nnoremap :History + nnoremap :GitFiles nmap h endif -- cgit v1.2.3