Skip to content

Commit b212fdb

Browse files
authored
Merge pull request #1925 from nathanzeng/which-key-gitsigns
Clarify gitsigns keymap for which-key
2 parents dabce46 + 886f2bc commit b212fdb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

init.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ require('lazy').setup({
318318
spec = {
319319
{ '<leader>s', group = '[S]earch', mode = { 'n', 'v' } },
320320
{ '<leader>t', group = '[T]oggle' },
321-
{ '<leader>h', group = 'Git [H]unk', mode = { 'n', 'v' } },
321+
{ '<leader>h', group = 'Git [H]unk', mode = { 'n', 'v' } }, -- Enable gitsigns recommended keymaps first
322322
{ 'gr', group = 'LSP Actions', mode = { 'n' } },
323323
},
324324
},
@@ -917,7 +917,7 @@ require('lazy').setup({
917917
-- require 'kickstart.plugins.lint',
918918
-- require 'kickstart.plugins.autopairs',
919919
-- require 'kickstart.plugins.neo-tree',
920-
-- require 'kickstart.plugins.gitsigns', -- adds gitsigns recommend keymaps
920+
-- require 'kickstart.plugins.gitsigns', -- adds gitsigns recommended keymaps
921921

922922
-- NOTE: The import below can automatically add your own plugins, configuration, etc from `lua/custom/plugins/*.lua`
923923
-- This is the easiest way to modularize your config.

0 commit comments

Comments
 (0)