telescope_hoogle icon indicating copy to clipboard operation
telescope_hoogle copied to clipboard

Hoogle search integration for Telescope

telescope_hoogle

A telescope plugin for Hoogle.

Keybindings

  • <C-b>: opens selected entry in the browser:

  • <cr>: copies selected entry to clipboard:

Installation

  1. Install Telescope
  2. Install a recent Hoogle (needs to support --json flag)
  3. Run hoogle generate
  4. Install this plugin (for example: paq 'luc-tielen/telescope_hoogle')
  5. Add the following Lua snippet to your nvim config:
local telescope = require('telescope')
telescope.setup {
  -- opts...
}
telescope.load_extension('hoogle')

Development

$ git clone [email protected]:luc-tielen/telescope_hoogle.git
$ cd telescope_hoogle
$ nvim --cmd "set rtp+=$(pwd)"