From 595e8318603a470589c33033054e1ea95f9473fe Mon Sep 17 00:00:00 2001 From: Oliver Hartmann Date: Fri, 28 Dec 2018 15:09:11 +0100 Subject: [PATCH] Add fzf plugin --- init.vim | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/init.vim b/init.vim index a63ba14..8bbed0c 100644 --- a/init.vim +++ b/init.vim @@ -23,6 +23,12 @@ else \ 'do': 'bash install.sh', \ } end +Plug 'junegunn/fzf' +if has("win32") + if hostname == "perryWin64" + Plug 'F:\Tools\fzf_win\' + end +end Plug 'Shougo/echodoc.vim' call plug#end() " =============Settings================== @@ -158,3 +164,9 @@ let g:LanguageClient_hasClientSupport = 0 set cmdheight=2 let g:echodoc#enable_at_startup = 1 let g:echodoc#type = 'signature' +" ===================FZF============================= +nnoremap :FZF +let g:fzf_action = { + \ 'enter': 'tab split', + \ 'ctrl-x': 'split', + \ 'ctrl-v': 'vsplit' }