dotfiles/mzte-nv/conf/lua/pluginconf/p-harpoon.lua
2023-02-19 21:28:57 +01:00

7 lines
326 B
Lua

local map = vim.api.nvim_set_keymap
require("harpoon").setup {}
map("n", "ma", [[<cmd>lua require("harpoon.mark").toggle_file()<cr>]], { silent = true })
map("n", "mn", [[<cmd>lua require("harpoon.ui").nav_next()<cr>]], { silent = true })
map("n", "mp", [[<cmd>lua require("harpoon.ui").nav_prev()<cr>]], { silent = true })