File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -449,6 +449,17 @@ local on_attach = function(_, bufnr)
449
449
end , { desc = ' Format current buffer with LSP' })
450
450
end
451
451
452
+ -- document existing key chains
453
+ require (' which-key' ).register ({
454
+ [' <leader>c' ] = { name = ' [C]ode' , _ = ' which_key_ignore' },
455
+ [' <leader>d' ] = { name = ' [D]ocument' , _ = ' which_key_ignore' },
456
+ [' <leader>g' ] = { name = ' [G]it' , _ = ' which_key_ignore' },
457
+ [' <leader>h' ] = { name = ' More git' , _ = ' which_key_ignore' },
458
+ [' <leader>r' ] = { name = ' [R]ename' , _ = ' which_key_ignore' },
459
+ [' <leader>s' ] = { name = ' [S]earch' , _ = ' which_key_ignore' },
460
+ [' <leader>w' ] = { name = ' [W]orkspace' , _ = ' which_key_ignore' },
461
+ })
462
+
452
463
-- Enable the following language servers
453
464
-- Feel free to add/remove any LSPs that you want here. They will automatically be installed.
454
465
--
You can’t perform that action at this time.
0 commit comments