my_nvim_config/after/plugin/whichkey.lua

9 lines
404 B
Lua

-- Document existing key chains
require('which-key').register {
['<leader>f'] = { name = '[F]ind', _ = 'which_key_ignore' },
['<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' },
}