harpoon testing

main
spinach 2 years ago
parent b762d9d2b6
commit 360a8c5dfb

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

Loading…
Cancel
Save