harpoon testing

main
spinach 2 years ago
parent fb6e123b96
commit b762d9d2b6

@ -37,10 +37,11 @@ vim.keymap.set('n', '<leader>pg', '"+p')
-- toggle dotfiles visibility -- toggle dotfiles visibility
vim.keymap.set("n", "<leader>d", ":lua require('nvim-tree.api').tree.toggle_hidden_filter()<CR>") vim.keymap.set("n", "<leader>d", ":lua require('nvim-tree.api').tree.toggle_hidden_filter()<CR>")
local harpoon = require('harpoon') -- local harpoon = require('harpoon')
-- harpoon bindings -- harpoon bindings
vim.keymap.set("n", "<leader>hh", ":Telescope harpoon marks<CR>") vim.keymap.set("n", "<leader>hh", ":Telescope harpoon marks<CR>")
vim.keymap.set("n", "<leader>ha", harpoon.mark.add_file, {}) 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>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>hp", ":lua require(harpoon.ui).nav_prev()<CR>")
-- jumping to specific files -- jumping to specific files

Loading…
Cancel
Save