dotfiles/mzte-nv/conf/lua/pluginconf/p-harpoon.fnl

11 lines
352 B
Text
Raw Normal View History

2023-03-07 18:24:39 +01:00
(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)
2023-05-27 01:26:34 +02:00
(vim.keymap.set :n :mc mark.clear_all mopt)
2023-03-07 18:24:39 +01:00
(vim.keymap.set :n :mn ui.nav_next mopt)
(vim.keymap.set :n :mp ui.nav_prev mopt)