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 @@ -436,6 +436,17 @@ local on_attach = function(_, bufnr)
436
436
end , { desc = ' Format current buffer with LSP' })
437
437
end
438
438
439
+ -- document existing key chains
440
+ require (' which-key' ).register ({
441
+ [' <leader>c' ] = { name = ' [C]ode' , _ = ' which_key_ignore' },
442
+ [' <leader>d' ] = { name = ' [D]ocument' , _ = ' which_key_ignore' },
443
+ [' <leader>g' ] = { name = ' [G]it' , _ = ' which_key_ignore' },
444
+ [' <leader>h' ] = { name = ' More git' , _ = ' which_key_ignore' },
445
+ [' <leader>r' ] = { name = ' [R]ename' , _ = ' which_key_ignore' },
446
+ [' <leader>s' ] = { name = ' [S]earch' , _ = ' which_key_ignore' },
447
+ [' <leader>w' ] = { name = ' [W]orkspace' , _ = ' which_key_ignore' },
448
+ })
449
+
439
450
-- Enable the following language servers
440
451
-- Feel free to add/remove any LSPs that you want here. They will automatically be installed.
441
452
--
You can’t perform that action at this time.
0 commit comments