From 6b3e2a13326b9ffbae59be5fb39c7531957c07e4 Mon Sep 17 00:00:00 2001 From: dx Date: Sun, 17 May 2020 09:29:04 +0100 Subject: +fzf to nvim --- NeoVim/.config/nvim/init.vim | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) (limited to 'NeoVim/.config/nvim/init.vim') diff --git a/NeoVim/.config/nvim/init.vim b/NeoVim/.config/nvim/init.vim index 055213e..d0db15b 100644 --- a/NeoVim/.config/nvim/init.vim +++ b/NeoVim/.config/nvim/init.vim @@ -15,6 +15,8 @@ Plugin 'christoomey/vim-tmux-navigator' Plugin 'scrooloose/nerdtree' "" Plugins +Plugin 'junegunn/fzf', { 'do': { -> fzf#install() } } +Plugin 'junegunn/fzf.vim' Plugin 'godlygeek/tabular' Plugin 'tpope/vim-commentary' Plugin 'tpope/vim-fugitive' @@ -57,7 +59,7 @@ let g:NERDTreeHijackNetrw = 1 "" Keybinds imap jk "" General keybind -nnoremap fp :e ~/.confing +nnoremap fp :e ~/.config/nvim/init.vim nnoremap fei :e ~/.vim/ftplugin nnoremap fr :so ~/.vimrc:PluginInstall:PluginClean nnoremap qq :q! @@ -65,37 +67,31 @@ nnoremap gs :G nnoremap : "" File Management -nnoremap ff :e +nnoremap ff :Files nnoremap fs :w nnoremap fq :wq nnoremap fn :enew nnoremap :set hlsearch! hlsearch? "" Buffer Management -nnoremap bb :b nnoremap bn :bn nnoremap bp :bp +nnoremap bb :Buffers nnoremap bd :bd "" Search -nnoremap ss / +nnoremap ss :Lines "" Window Splits nnoremap wv v nnoremap ws s nnoremap wd q - "" Window Resizes -nnoremap wj :resize -5 -nnoremap wk :resize +5 -nnoremap wl 5> -nnoremap wh 5< - "" Window Movement -nnoremap j -nnoremap k -nnoremap l -nnoremap h +nnoremap wj +nnoremap wk +nnoremap wl +nnoremap wh "" Projects nnoremap ot :NERDTreeToggle -- cgit v1.2.3-13-gbd6f