asbjornhaland / telescope-send-to-harpoon.nvim

Custom Telescope action to send selections to Harpoon.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

telescope-send-to-harpoon.nvim

Custom telescope.nvim action for sending selections to harpoon.

Requirements

Setup

Plug 'asbjornhaland/telescope-send-to-harpoon.nvim'

Load the extension by doing:

require('telescope').load_extension('send_to_harpoon')

somewhere after your require('telescope').setup() call.

Add a keyboard shortcut to execute the action call.

require('telescope').setup {
  defaults = {
    mappings = {
      i = {
        ["<C-h>"] = require'telescope'.extensions.send_to_harpoon.actions.send_selected_to_harpoon
      },
    }
  },
}

About

Custom Telescope action to send selections to Harpoon.

License:MIT License


Languages

Language:Lua 100.0%