added delete whichkey pattern

This commit is contained in:
Baipyrus 2024-04-03 20:38:51 +02:00
parent 9bde8580e9
commit 0b64215e3c

View File

@ -26,6 +26,7 @@ return {
['<leader>s'] = { name = '[S]earch', _ = 'which_key_ignore' },
['<leader>w'] = { name = '[W]orkspace', _ = 'which_key_ignore' },
['<leader>g'] = { name = '[G]it', _ = 'which_key_ignore' },
['<leader>dn'] = { name = '[D]elete [N]o', _ = 'which_key_ignore' },
}
-- register which-key VISUAL mode
@ -33,6 +34,8 @@ return {
require('which-key').register({
['<leader>'] = { name = 'VISUAL <leader>' },
['<leader>h'] = { 'Git [H]unk' },
['<leader>d'] = { name = '[D]elete', _ = 'which_key_ignore' },
['<leader>dn'] = { name = '[N]o', _ = 'which_key_ignore' },
}, { mode = 'v' })
end,
},