summaryrefslogtreecommitdiff
path: root/fnl/config/harpoon.fnl
blob: 9f9d2f2a8a3a61e65201641858ede9e320a30134 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
;; Harpoon files for navigation.
(module config.harpoon {autoload {util config.util nvim aniseed.nvim}})

(def- opts {})

(util.setup :harpoon opts)

(vim.keymap.set :n :<tab>
                (fn []
                  (util.telescope-ext :harpoon :marks
                                      {:theme :get_dropdown
                                       :previewer false
                                       :initial_mode :normal
                                       :prompt_title :Harpoon}))
                {})

(nvim.set_keymap :n :<s-tab>
                 "<cmd>Telescope buffers theme=dropdown previewer=false initial_mode=normal<cr>"
                 {})