mirror of
https://github.com/Baipyrus/nvim-config.git
synced 2024-12-27 05:41:45 +00:00
Compare commits
4 Commits
b490bc9c52
...
154d4ad0a1
Author | SHA1 | Date | |
---|---|---|---|
154d4ad0a1 | |||
0b64215e3c | |||
9bde8580e9 | |||
982a0f821c |
@ -22,11 +22,11 @@ return {
|
|||||||
|
|
||||||
-- Document existing key chains
|
-- Document existing key chains
|
||||||
require('which-key').register {
|
require('which-key').register {
|
||||||
['<leader>c'] = { name = '[C]ode', _ = 'which_key_ignore' },
|
|
||||||
['<leader>d'] = { name = '[D]ocument', _ = 'which_key_ignore' },
|
|
||||||
['<leader>r'] = { name = '[R]ename', _ = 'which_key_ignore' },
|
['<leader>r'] = { name = '[R]ename', _ = 'which_key_ignore' },
|
||||||
['<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>dn'] = { name = '[D]elete [N]o', _ = 'which_key_ignore' },
|
||||||
}
|
}
|
||||||
|
|
||||||
-- register which-key VISUAL mode
|
-- register which-key VISUAL mode
|
||||||
@ -34,6 +34,10 @@ 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>p'] = { name = '[P]aste', _ = 'which_key_ignore' },
|
||||||
|
['<leader>dn'] = { name = '[N]o', _ = 'which_key_ignore' },
|
||||||
|
['<leader>pn'] = { name = '[N]o', _ = 'which_key_ignore' },
|
||||||
}, { mode = 'v' })
|
}, { mode = 'v' })
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user