From bb6936d7465a9e4edca7c979d9763a9e9ad34e6a Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Mon, 8 Aug 2022 16:12:22 +0200 Subject: Add harpoon --- fnl/config/harpoon.fnl | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 fnl/config/harpoon.fnl (limited to 'fnl/config/harpoon.fnl') diff --git a/fnl/config/harpoon.fnl b/fnl/config/harpoon.fnl new file mode 100644 index 0000000..0c3ca5e --- /dev/null +++ b/fnl/config/harpoon.fnl @@ -0,0 +1,18 @@ +;; Harpoon files for navigation. +(module config.harpoon {autoload {: util nvim aniseed.nvim}}) + +(def- opts {}) + +(util.use-config :harpoon opts) +(nvim.set_keymap + "n" + "" + "lua require('telescope').extensions.harpoon.marks(require('telescope.themes').get_dropdown{previewer = false, initial_mode='normal', prompt_title='Harpoon'})" + opts +) +(nvim.set_keymap + "n" + "" + "lua require('telescope.builtin').buffers(require('telescope.themes').get_dropdown{previewer = false, initial_mode='normal'})" + opts +) -- cgit v1.2.3-70-g09d2