dotfiles/mzte-nv/conf/lua/pluginconf/p-harpoon.fnl
2023-03-07 18:24:39 +01:00

9 lines
308 B
Fennel

(local (harpoon mark ui)
(values (require :harpoon) (require :harpoon.mark) (require :harpoon.ui)))
(harpoon.setup {})
(local mopt (. (require :mzte_nv) :utils :map_opt))
(vim.keymap.set :n :ma mark.toggle_file mopt)
(vim.keymap.set :n :mn ui.nav_next mopt)
(vim.keymap.set :n :mp ui.nav_prev mopt)