diff options
Diffstat (limited to 'fnl/config/harpoon.fnl')
-rw-r--r-- | fnl/config/harpoon.fnl | 18 |
1 files changed, 18 insertions, 0 deletions
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" + "<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 +) |