From 48703ffc8982244d2a2c2e90de0b95cdbcf1be68 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Sat, 24 Oct 2020 23:08:44 +0200 Subject: Fixed vim which-key --- .config/nvim/bindings.vim | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.config/nvim/bindings.vim b/.config/nvim/bindings.vim index 4d19ad6..674be75 100644 --- a/.config/nvim/bindings.vim +++ b/.config/nvim/bindings.vim @@ -30,10 +30,10 @@ nnoremap v :FloatermNew vifm nnoremap w :w nnoremap x :w:bp:bd # let g:which_key_map.b = 'buffers' -let g:which_key_map.c = '+nerd-commenter' +let g:which_key_map.c = { 'name': '+nerd-commenter' } let g:which_key_map.d = 'write-and-close-buffer' let g:which_key_map.e = 'files' -let g:which_key_map.g = '+grep' +let g:which_key_map.g = { 'name': '+grep' } let g:which_key_map.g.a = 'the_silver_searcher' let g:which_key_map.g.g = 'grep' let g:which_key_map.g.r = 'ripgrep' @@ -41,6 +41,8 @@ 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.q = { 'name': '+coc-fix-current' } +let g:which_key_map.r = { 'name': '+coc-rename' } 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' -- cgit v1.2.3