telescope-github.nvim icon indicating copy to clipboard operation
telescope-github.nvim copied to clipboard

Key mappings

Open sozoalvin opened this issue 3 years ago • 0 comments

Description

hi! great plugin ! managed to see a pr with :Telescope gh pull_request but can't seem to execute them such as open web using

i suspect that's because vim's default prevents my intended operation from executing. As such; where can I find out how to add different key mappings to execute the open web function? Many thanks in advance for your help!

Neovim version

NVIM v0.7.0

Operating system and version

mac os 10.15.7

Steps to reproduce

  1. open nvim
  2. :Telescope gh pull_requests
  3. choose any PR

Expected behavior

web browser should open with the selected PR

Actual behavior

nothing happens

Minimal config

vim.cmd [[set runtimepath=$VIMRUNTIME]]
vim.cmd [[set packpath=/tmp/nvim/site]]
local package_root = '/tmp/nvim/site/pack'
local install_path = package_root .. '/packer/start/packer.nvim'
local function load_plugins()
    require('packer').startup {
        {
            'wbthomason/packer.nvim',
            {
                'nvim-telescope/telescope.nvim',
                requires = {
                    'nvim-lua/plenary.nvim',
                    'nvim-telescope/telescope-github.nvim',
                },
            },
            -- ADD PLUGINS THAT ARE _NECESSARY_ FOR REPRODUCING THE ISSUE
        },
        config = {
            package_root = package_root,
            compile_path = install_path .. '/plugin/packer_compiled.lua',
            display = { non_interactive = true },
        },
    }
end

_G.load_config = function()
    require('telescope').setup()
    require('telescope').load_extension('gh')
    -- ADD INIT.LUA SETTINGS THAT ARE _NECESSARY_ FOR REPRODUCING THE ISSUE
end
if vim.fn.isdirectory(install_path) == 0 then
    print("Installing Telescope and dependencies.")
    vim.fn.system { 'git', 'clone', '--depth=1', 'https://github.com/wbthomason/packer.nvim', install_path }
end
load_plugins()
require('packer').sync()
vim.cmd [[autocmd User PackerComplete ++once echo "Ready!" | lua load_config()]]

sozoalvin avatar Sep 05 '22 02:09 sozoalvin