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