mirror of
https://github.com/Baipyrus/nvim-config.git
synced 2024-11-14 13:03:49 +00:00
added delete whichkey pattern
This commit is contained in:
parent
9bde8580e9
commit
0b64215e3c
@ -26,6 +26,7 @@ return {
|
|||||||
['<leader>s'] = { name = '[S]earch', _ = 'which_key_ignore' },
|
['<leader>s'] = { name = '[S]earch', _ = 'which_key_ignore' },
|
||||||
['<leader>w'] = { name = '[W]orkspace', _ = 'which_key_ignore' },
|
['<leader>w'] = { name = '[W]orkspace', _ = 'which_key_ignore' },
|
||||||
['<leader>g'] = { name = '[G]it', _ = '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
|
-- register which-key VISUAL mode
|
||||||
@ -33,6 +34,8 @@ return {
|
|||||||
require('which-key').register({
|
require('which-key').register({
|
||||||
['<leader>'] = { name = 'VISUAL <leader>' },
|
['<leader>'] = { name = 'VISUAL <leader>' },
|
||||||
['<leader>h'] = { 'Git [H]unk' },
|
['<leader>h'] = { 'Git [H]unk' },
|
||||||
|
['<leader>d'] = { name = '[D]elete', _ = 'which_key_ignore' },
|
||||||
|
['<leader>dn'] = { name = '[N]o', _ = 'which_key_ignore' },
|
||||||
}, { mode = 'v' })
|
}, { mode = 'v' })
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user