diff options
author | Shubham Saini <pryr@pryr.xyz> | 2021-05-22 20:07:28 +0000 |
---|---|---|
committer | Shubham Saini <pryr@pryr.xyz> | 2021-05-22 20:07:28 +0000 |
commit | 5822354f38165c839324499a6f15466bd346cae1 (patch) | |
tree | 62ef5a3910c0ea54ca153a241cbfd3c08c3e0eab /nvim | |
parent | 72ccd83ccc66d942b855fe8379bc3f0d24384b76 (diff) |
added fzf keybinding to nvim
Diffstat (limited to 'nvim')
-rwxr-xr-x | nvim/.config/nvim/init.vim | 3 |
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=" " | |||
43 | nnoremap <leader>q :wq<CR> | 43 | nnoremap <leader>q :wq<CR> |
44 | nnoremap <leader>w :w<CR> | 44 | nnoremap <leader>w :w<CR> |
45 | 45 | ||
46 | " toggle fzf | ||
47 | nnoremap <leader><tab> :FZF<CR> | ||
48 | |||
46 | " Save file as sudo when no sudo permissions | 49 | " Save file as sudo when no sudo permissions |
47 | cmap w!! w !sudo tee > /dev/null % | 50 | cmap w!! w !sudo tee > /dev/null % |
48 | 51 | ||