diff options
author | dx <aryadevchavali1@gmail.com> | 2020-05-17 09:29:04 +0100 |
---|---|---|
committer | dx <aryadevchavali1@gmail.com> | 2020-05-17 09:29:04 +0100 |
commit | 6b3e2a13326b9ffbae59be5fb39c7531957c07e4 (patch) | |
tree | 1b9de0c0ed827331c8866c47c23eb1a1edf97fcd /NeoVim | |
parent | eaace18c4931110e33bc066ce02344cc4f118249 (diff) | |
download | dotfiles-6b3e2a13326b9ffbae59be5fb39c7531957c07e4.tar.gz dotfiles-6b3e2a13326b9ffbae59be5fb39c7531957c07e4.tar.bz2 dotfiles-6b3e2a13326b9ffbae59be5fb39c7531957c07e4.zip |
+fzf to nvim
Diffstat (limited to 'NeoVim')
-rw-r--r-- | NeoVim/.config/nvim/init.vim | 24 |
1 files changed, 10 insertions, 14 deletions
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 <Esc> "" General keybind -nnoremap <leader>fp :e ~/.confing<CR> +nnoremap <leader>fp :e ~/.config/nvim/init.vim<CR> nnoremap <leader>fei :e ~/.vim/ftplugin<CR> nnoremap <leader>fr :so ~/.vimrc<CR>:PluginInstall<CR>:PluginClean<CR> nnoremap <leader>qq :q!<CR> @@ -65,37 +67,31 @@ nnoremap <leader>gs :G<CR> nnoremap <leader><leader> : "" File Management -nnoremap <leader>ff :e +nnoremap <leader>ff :Files <CR> nnoremap <leader>fs :w<CR> nnoremap <leader>fq :wq<CR> nnoremap <leader>fn :enew<CR> nnoremap <F8> :set hlsearch! hlsearch?<CR> "" Buffer Management -nnoremap <leader>bb :b nnoremap <leader>bn :bn <CR> nnoremap <leader>bp :bp <CR> +nnoremap <leader>bb :Buffers <CR> nnoremap <leader>bd :bd <CR> "" Search -nnoremap <leader>ss / +nnoremap <leader>ss :Lines<CR> "" Window Splits nnoremap <leader>wv <C-W>v nnoremap <leader>ws <C-W>s nnoremap <leader>wd <C-W>q - "" Window Resizes -nnoremap <leader>wj :resize -5<CR> -nnoremap <leader>wk :resize +5<CR> -nnoremap <leader>wl <C-W>5> -nnoremap <leader>wh <C-W>5< - "" Window Movement -nnoremap <leader>j <C-W><C-J> -nnoremap <leader>k <C-W><C-K> -nnoremap <leader>l <C-W><C-L> -nnoremap <leader>h <C-W><C-H> +nnoremap <leader>wj <C-W><C-J> +nnoremap <leader>wk <C-W><C-K> +nnoremap <leader>wl <C-W><C-L> +nnoremap <leader>wh <C-W><C-H> "" Projects nnoremap <leader>ot :NERDTreeToggle<CR> |