Skip to content

tamago324/telescope-openbrowser.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

telescope-openbrowser.nvim

Integration for open-browser.vim with telescope.nvim.

Requirements

Installation

Plug 'tamago324/telescope-openbrowser.nvim'
Plug 'tyru/open-browser.vim'


-- Setup
lua require 'telescope'.setup {
  -- ...
  extensions = {
    -- Add bookmark urls
    openbrowser = {
      bookmarks = {
        ['luv docs'] = 'https://github.com/luvit/luv/blob/master/docs.md',
      },
      bookmark_filepath = '~/config/nvim/telescope_openbrowser_bookamarks'
    }
  }
}

lua require'telescope'.load_extensions('openbrowser')

Usage

lua require 'telescope'.extensions.openbrowser.list{}

or

Telescope openbrowser list

Configuration

Edit ~/.config/nvim/telescope_openbrowser_bookamarks

luv docs	https://github.com/luvit/luv/blob/master/docs.md
# this is comment
  • Use a tab character to separate the name from the URL
  • Lines beginning with # will be ignored

License

MIT

About

openbrowser.vim integration

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages