mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 22:59:15 +00:00
ref(nvim): fennel-ized harpoon
This commit is contained in:
parent
d2d88f6f60
commit
c72dc620c6
2 changed files with 19 additions and 19 deletions
19
.config/nvim/fnl/plugins/_harpoon.fnl
Normal file
19
.config/nvim/fnl/plugins/_harpoon.fnl
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
(local {: require-then} (require :helpers))
|
||||
|
||||
(require-then :harpoon #($.setup))
|
||||
|
||||
(let [ui (require :harpoon.ui)
|
||||
mark (require :harpoon.mark)
|
||||
map vim.keymap.set]
|
||||
;; and and view
|
||||
(map [:n :i] :<A-c> #(mark.add_file))
|
||||
(map [:n :i] :<A-g> #(ui.toggle_quick_menu))
|
||||
;; switch it up!
|
||||
(map [:n :i] :<A-h> #(ui.nav_file 1))
|
||||
(map [:n :i] :<A-t> #(ui.nav_file 2))
|
||||
(map [:n :i] :<A-n> #(ui.nav_file 3))
|
||||
(map [:n :i] :<A-s> #(ui.nav_file 4))
|
||||
(map [:n :i] :<A-m> #(ui.nav_file 5))
|
||||
(map [:n :i] :<A-w> #(ui.nav_file 6))
|
||||
(map [:n :i] :<A-v> #(ui.nav_file 7))
|
||||
(map [:n :i] :<A-z> #(ui.nav_file 8)))
|
||||
Loading…
Add table
Add a link
Reference in a new issue