aboutsummaryrefslogtreecommitdiff
path: root/lua/kickstart/plugins/which-key.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/kickstart/plugins/which-key.lua')
-rw-r--r--lua/kickstart/plugins/which-key.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/lua/kickstart/plugins/which-key.lua b/lua/kickstart/plugins/which-key.lua
index d37883b..54d7409 100644
--- a/lua/kickstart/plugins/which-key.lua
+++ b/lua/kickstart/plugins/which-key.lua
@@ -28,7 +28,12 @@ return {
['<leader>s'] = { name = '[S]earch', _ = 'which_key_ignore' },
['<leader>w'] = { name = '[W]orkspace', _ = 'which_key_ignore' },
['<leader>t'] = { name = '[T]oggle', _ = 'which_key_ignore' },
+ ['<leader>h'] = { name = 'Git [H]unk', _ = 'which_key_ignore' },
}
+ -- visual mode
+ require('which-key').register({
+ ['<leader>h'] = { 'Git [H]unk' },
+ }, { mode = 'v' })
end,
},
}