From 9e5d1fd7daabc999c3eab3739ba2f8e72f440410 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Wed, 21 Oct 2020 18:21:51 +0200 Subject: Few keymap changes --- .config/nvim/bindings.vim | 32 ++++++++++++++++++-------------- 1 file changed, 18 insertions(+), 14 deletions(-) diff --git a/.config/nvim/bindings.vim b/.config/nvim/bindings.vim index 1957419..6ee8a9c 100644 --- a/.config/nvim/bindings.vim +++ b/.config/nvim/bindings.vim @@ -17,25 +17,29 @@ nnoremap 2 :sp nnoremap 3 :vsp nnoremap 0 q nnoremap :WhichKey '\' -nnoremap g :FloatermNew lazygit -let g:which_key_map.g = 'lazygit' +nnoremap b :Buffers nnoremap d :FloatermNew vifm -let g:which_key_map.d = 'vifm' -nnoremap v :FloatermNew vifm -let g:which_key_map.v = 'vifm' nnoremap e :Files -let g:which_key_map.e = 'fzf-files' -nnoremap b :Buffers -let g:which_key_map.b = 'fzf-buffers' +nnoremap f :Rg +nnoremap F :Ag +nnoremap g :FloatermNew lazygit nnoremap h :Startify -let g:which_key_map.h = 'startify' -nnoremap p :CocList -A --normal yank -let g:which_key_map.p = 'coc-paste' -nnoremap s :w -let g:which_key_map.s = 'write-buffer' nnoremap k :w:bp:bd # -let g:which_key_map.k = 'write-and-close-buffer' +nnoremap p :CocList -A --normal yank +nnoremap v :FloatermNew vifm +nnoremap w :w nnoremap x :w:bp:bd # +let g:which_key_map.b = 'buffers' +let g:which_key_map.d = 'vifm' +let g:which_key_map.e = 'files' +let g:which_key_map.f = 'grep' +let g:which_key_map.F = 'the_silver_searcher' +let g:which_key_map.g = 'lazygit' +let g:which_key_map.h = 'startify' +let g:which_key_map.k = 'write-and-close-buffer' +let g:which_key_map.p = 'coc-paste' +let g:which_key_map.v = 'vifm' +let g:which_key_map.w = 'write-buffer' let g:which_key_map.x = 'write-and-close-buffer' nmap AirlineSelectTab1 nmap AirlineSelectTab2 -- cgit v1.2.3