From df4847e481f9b896b32a9f9885581e948cf10841 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Sun, 13 Mar 2022 22:50:38 -0700 Subject: nvim: Add fzf key bindings --- .config/nvim/fzf.vim | 5 +++++ .config/nvim/init.vim | 1 + 2 files changed, 6 insertions(+) create mode 100644 .config/nvim/fzf.vim 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 b :Buffers + +nnoremap gr :Rg +nnoremap gg :GFiles +nnoremap gf :Files 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 -- cgit v1.2.3