mirror of
https://github.com/Baipyrus/nvim-config.git
synced 2024-12-26 05:11:45 +00:00
additional harpoon keymaps
This commit is contained in:
parent
c3aa10fb2e
commit
b490bc9c52
@ -33,5 +33,16 @@ return {
|
|||||||
vim.keymap.set('n', '<leader>ho', function()
|
vim.keymap.set('n', '<leader>ho', function()
|
||||||
toggle_telescope(harpoon:list())
|
toggle_telescope(harpoon:list())
|
||||||
end, { desc = '[H]arpoon [Open]' })
|
end, { desc = '[H]arpoon [Open]' })
|
||||||
|
-- Append to harpoon list
|
||||||
|
vim.keymap.set('n', '<leader>ha', function()
|
||||||
|
harpoon:list():append()
|
||||||
|
end, { desc = '[H]arpoon [A]ppend' })
|
||||||
|
-- Toggle previous & next buffers stored within Harpoon list
|
||||||
|
vim.keymap.set('n', '<C-S-P>', function()
|
||||||
|
harpoon:list():prev()
|
||||||
|
end)
|
||||||
|
vim.keymap.set('n', '<C-S-N>', function()
|
||||||
|
harpoon:list():next()
|
||||||
|
end)
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user