summaryrefslogtreecommitdiff
path: root/fnl/plugins/harpoon.fnl
diff options
context:
space:
mode:
Diffstat (limited to 'fnl/plugins/harpoon.fnl')
-rw-r--r--fnl/plugins/harpoon.fnl25
1 files changed, 0 insertions, 25 deletions
diff --git a/fnl/plugins/harpoon.fnl b/fnl/plugins/harpoon.fnl
deleted file mode 100644
index 7674f0b..0000000
--- a/fnl/plugins/harpoon.fnl
+++ /dev/null
@@ -1,25 +0,0 @@
-;; Harpoon files for navigation.
-
-(fn telescope-ext [ext fun opts]
- (let [telescope (require :telescope)
- themes (require :telescope.themes)
- theme (. opts :theme)]
- ((. (. (. telescope :extensions) ext) fun) ((. themes theme) opts))))
-
-(fn setup []
- (vim.keymap.set :n :<tab>
- (fn []
- (telescope-ext :harpoon :marks
- {:theme :get_dropdown
- :previewer false
- :initial_mode :normal
- :prompt_title :Harpoon}))
- {})
- (vim.keymap.set :n :<s-tab>
- "<cmd>Telescope buffers theme=dropdown previewer=false initial_mode=normal<cr>"
- {}))
-
-{1 :ThePrimeagen/harpoon
- :event :BufReadPost
- :config (fn []
- (setup))}