diff options
Diffstat (limited to '.config/nvim/after/plugin/whichkey.lua')
-rw-r--r-- | .config/nvim/after/plugin/whichkey.lua | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/.config/nvim/after/plugin/whichkey.lua b/.config/nvim/after/plugin/whichkey.lua index 05f29e9..7b74e73 100644 --- a/.config/nvim/after/plugin/whichkey.lua +++ b/.config/nvim/after/plugin/whichkey.lua @@ -1,7 +1,13 @@ - +local ma = require('harpoon.mark') +local ui = require('harpoon.ui') local ts = require('telescope.builtin') local wk = require('which-key') wk.register({ + a = { + name = 'harpoon', + a = { ma.add_file, 'add file', noremap = true, silent = true }, + e = { ui.toggle_quick_menu, 'toggle ui', noremap = true, silent = true }, + }, b = { ':Buffers<CR>', 'buffers', noremap = true, silent = true }, c = { name = '+nerd-commenter' }, d = { ':bd<CR>', 'close buffer', noremap = true, silent = true }, |