fixing harpoon binds

main
spinach 2 years ago
parent 480ca34871
commit fbf26a14d9

@ -39,12 +39,12 @@ vim.keymap.set("n", "<leader>d", ":lua require('nvim-tree.api').tree.toggle_hidd
-- harpoon bindings
vim.keymap.set("n", "<leader>hh", ":Telescope harpoon marks")
vim.keymap.set("n", "<leader>ha", ":lua require(harpoon.ui).add_file()"
vim.keymap.set("n", "<leader>hn", ":lua require(harpoon.ui).nav_next()"
vim.keymap.set("n", "<leader>hp", ":lua require(harpoon.ui).nav_prev()"
vim.keymap.set("n", "<leader>ha", ":lua require(harpoon.ui).add_file()")
vim.keymap.set("n", "<leader>hn", ":lua require(harpoon.ui).nav_next()")
vim.keymap.set("n", "<leader>hp", ":lua require(harpoon.ui).nav_prev()")
-- jumping to specific files
vim.keymap.set("n", "<leader>h1", ":lua require(harpoon.ui).nav_file(1)"
vim.keymap.set("n", "<leader>h2", ":lua require(harpoon.ui).nav_file(2)"
vim.keymap.set("n", "<leader>h3", ":lua require(harpoon.ui).nav_file(3)"
vim.keymap.set("n", "<leader>h4", ":lua require(harpoon.ui).nav_file(4)"
vim.keymap.set("n", "<leader>h5", ":lua require(harpoon.ui).nav_file(5)"
vim.keymap.set("n", "<leader>h1", ":lua require(harpoon.ui).nav_file(1)")
vim.keymap.set("n", "<leader>h2", ":lua require(harpoon.ui).nav_file(2)")
vim.keymap.set("n", "<leader>h3", ":lua require(harpoon.ui).nav_file(3)")
vim.keymap.set("n", "<leader>h4", ":lua require(harpoon.ui).nav_file(4)")
vim.keymap.set("n", "<leader>h5", ":lua require(harpoon.ui).nav_file(5)")

Loading…
Cancel
Save