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

(def- opts {})

(util.use-config :harpoon opts)
(nvim.set_keymap
  "n"
  "<tab>"
  "<cmd>lua require('telescope').extensions.harpoon.marks(require('telescope.themes').get_dropdown{previewer = false, initial_mode='normal', prompt_title='Harpoon'})<cr>"
  opts
)
(nvim.set_keymap
  "n"
  "<s-tab>"
  "<cmd>lua require('telescope.builtin').buffers(require('telescope.themes').get_dropdown{previewer = false, initial_mode='normal'})<cr>"
  opts
)