aboutsummaryrefslogtreecommitdiff
path: root/NeoVim/.config/nvim/init.vim
diff options
context:
space:
mode:
Diffstat (limited to 'NeoVim/.config/nvim/init.vim')
-rw-r--r--NeoVim/.config/nvim/init.vim24
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>