summaryrefslogtreecommitdiffstats
path: root/.config/nvim/bindings.vim
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-10-24 23:08:44 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-10-24 23:08:44 +0200
commit48703ffc8982244d2a2c2e90de0b95cdbcf1be68 (patch)
tree18c96dfd3dc95a21d9d9894064952c37b7e11616 /.config/nvim/bindings.vim
parentAdded vim bindings for mpv FINALLY (diff)
downloaddotfiles-bsd-48703ffc8982244d2a2c2e90de0b95cdbcf1be68.tar.gz
dotfiles-bsd-48703ffc8982244d2a2c2e90de0b95cdbcf1be68.tar.bz2
dotfiles-bsd-48703ffc8982244d2a2c2e90de0b95cdbcf1be68.tar.xz
dotfiles-bsd-48703ffc8982244d2a2c2e90de0b95cdbcf1be68.tar.zst
dotfiles-bsd-48703ffc8982244d2a2c2e90de0b95cdbcf1be68.zip
Fixed vim which-key
Diffstat (limited to '')
-rw-r--r--.config/nvim/bindings.vim6
1 files 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 <silent> <leader>v :FloatermNew vifm<CR>
nnoremap <leader>w :w<CR>
nnoremap <leader>x :w<CR>:bp<CR>:bd #<CR>
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'