summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShubham Saini <pryr@pryr.xyz>2021-05-22 20:07:28 +0000
committerShubham Saini <pryr@pryr.xyz>2021-05-22 20:07:28 +0000
commit5822354f38165c839324499a6f15466bd346cae1 (patch)
tree62ef5a3910c0ea54ca153a241cbfd3c08c3e0eab
parent72ccd83ccc66d942b855fe8379bc3f0d24384b76 (diff)
added fzf keybinding to nvim
-rwxr-xr-xnvim/.config/nvim/init.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/nvim/.config/nvim/init.vim b/nvim/.config/nvim/init.vim
index aa2d709..8978c2d 100755
--- a/nvim/.config/nvim/init.vim
+++ b/nvim/.config/nvim/init.vim
@@ -43,6 +43,9 @@ let mapleader=" "
43nnoremap <leader>q :wq<CR> 43nnoremap <leader>q :wq<CR>
44nnoremap <leader>w :w<CR> 44nnoremap <leader>w :w<CR>
45 45
46" toggle fzf
47nnoremap <leader><tab> :FZF<CR>
48
46" Save file as sudo when no sudo permissions 49" Save file as sudo when no sudo permissions
47cmap w!! w !sudo tee > /dev/null % 50cmap w!! w !sudo tee > /dev/null %
48 51