summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/nvim/fzf.vim5
-rw-r--r--.config/nvim/init.vim1
2 files changed, 6 insertions, 0 deletions
diff --git a/.config/nvim/fzf.vim b/.config/nvim/fzf.vim
new file mode 100644
index 0000000..cef3936
--- /dev/null
+++ b/.config/nvim/fzf.vim
@@ -0,0 +1,5 @@
+map <leader>b :Buffers<cr>
+
+nnoremap <silent> <Leader>gr :Rg<CR>
+nnoremap <silent> <Leader>gg :GFiles<CR>
+nnoremap <silent> <Leader>gf :Files<CR>
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim
index 1fe72bc..91e3378 100644
--- a/.config/nvim/init.vim
+++ b/.config/nvim/init.vim
@@ -2,4 +2,5 @@ set runtimepath^=~/.vim runtimepath+=~/.vim/after
let &packpath = &runtimepath
source ~/.vimrc
source ~/.config/nvim/coc.vim
+source ~/.config/nvim/fzf.vim
source ~/.config/nvim/plugins.vim