dotfiles/mzte-nv/conf/lua/pluginconf/nvim_harpoon.lua

8 lines
326 B
Lua
Raw Normal View History

2022-12-23 00:08:07 +01:00
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 })