• Stars
    star
    209
  • Rank 182,056 (Top 4 %)
  • Language
    Lua
  • License
    MIT License
  • Created over 3 years ago
  • Updated 5 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Integration with github cli

Telescope-github.nvim

Integration with github cli

Installation

you need to install github cli (version 2.2.0 or greater) first Install Github cli

Packer

use {
    "nvim-telescope/telescope.nvim",
    requires = {
        { "nvim-lua/plenary.nvim" },
        { "nvim-telescope/telescope-github.nvim" },
    },
}

vim-plug

Plug 'nvim-lua/plenary.nvim'
Plug 'nvim-telescope/telescope.nvim'
Plug 'nvim-telescope/telescope-github.nvim'

Setup

require('telescope').load_extension('gh')

Available commands

Telescope gh issues
Telescope gh pull_request
Telescope gh gist
Telescope gh run

"Using lua function
lua require('telescope').extensions.gh.issues()<cr>
lua require('telescope').extensions.gh.pull_request()<cr>
lua require('telescope').extensions.gh.gist()<cr>
lua require('telescope').extensions.gh.run()<cr>

Options

You can add more filter to issue in commands

" filter with author and label
Telescope gh issues author=windwp label=bug

Pull Request

Options Filter

Detail

Query filter
author Filter by author
assignee Filter by assignee
label Filter by label
search Filter by query
state Filter by state: {open,closed,all}
base Filter by base branch
limit limit default = 100

Key mappings

key Usage
<cr> checkout pull request
<c-t> open web
<c-e> toggle to view detail or diff
<c-r> merge request
<c-a> approve pull request
<c-f> browse modified files

Issue

Options Filter

Detail

Query filter
author Filter by author
assignee Filter by assignee
mention Filter by mention
label Filter by label
milestone Filter by milestone
search Filter by query
state Filter by state: {open,closed,all}
limit limit default = 100

Key mappings

key Usage
<cr> insert a reference to the issue
<c-t> open web
<c-l> insert a markdown-link to the issue

Gist

Options Filter

Detail

Query filter
public Filter by public
secret Filter by secret
limit limit default = 100

Key mappings

key Usage
<cr> append gist to buffer
<c-t> open web
<c-e> edit gist in TMUX window
<c-d> delete selected gist
<c-n> create new empty gist

Secret

Note: only repository secrets are supported for now

Detail

Key mappings

key Usage
<cr> append secret name to buffer
<c-e> set new secret value
<c-n> set new secret (name and value)
<c-d> delete selected secret

Workflow runs

Options Filter

Detail

Query filter
workflow Filter runs by workflow
limit limit default = 100
wincmd Command to open log window, default = 'botright vnew'
wrap Wrap lines in log window, default = 'nowrap'
filetype Filetype to use on log window, default='bash'
cleanmeta Try to clean run log lines, default = 'true'
timeout Timeout for sync mode, default = '10000'
wait_interval Wait interval for sync mode, default = '5'
mode Mode to populate log window, default = 'async'

Key mappings

key Usage
<cr> open workflow summary/run logs in new window
<c-t> open web
<c-r> request run rerun
<c-a> request run cancel

More Repositories

1

telescope.nvim

Find, Filter, Preview, Pick. All lua, all the time.
Lua
11,260
star
2

telescope-file-browser.nvim

File Browser extension for telescope.nvim
Lua
1,497
star
3

telescope-fzf-native.nvim

FZF sorter for telescope written in c
C
1,236
star
4

telescope-frecency.nvim

A telescope.nvim extension that offers intelligent prioritization when selecting files from your editing history.
Lua
654
star
5

telescope-project.nvim

Lua
548
star
6

telescope-live-grep-args.nvim

Live grep with args
Lua
521
star
7

telescope-media-files.nvim

Telescope extension to preview media files using Ueberzug.
Lua
415
star
8

telescope-ui-select.nvim

Lua
404
star
9

telescope-dap.nvim

Integration for nvim-dap with telescope.nvim
Lua
280
star
10

telescope-packer.nvim

A Telescope extension that provides extra functionality for Packer.nvim
Lua
179
star
11

telescope-symbols.nvim

Lua
170
star
12

telescope-fzy-native.nvim

FZY style sorter that is compiled
Lua
162
star
13

telescope-smart-history.nvim

A history implementation that memorizes prompt input for a specific context
Lua
108
star
14

telescope-bibtex.nvim

A telescope.nvim extension to search and paste bibtex entries into your TeX files.
Lua
101
star
15

telescope-cheat.nvim

WIP integration
Lua
101
star
16

telescope-arecibo.nvim

A Neovim Telescope extension for searching the web!
Lua
87
star
17

telescope-hop.nvim

(Teles-)Hopping to the moon.
Lua
87
star
18

telescope-fzf-writer.nvim

Incorporating some fzf concepts with plenary jobs and telescope
Lua
71
star
19

telescope-rs.nvim

Experimental features for telescope in RUST? The safest telescope known to HUMANITY
45
star
20

telescope-vimspector.nvim

Integration for vimspector with telescope.nvim
Lua
38
star
21

telescope-z.nvim

Z integration for Telescope
Lua
35
star
22

telescope-node-modules.nvim

An extension that provides its users with node packages under node_modules directory
Lua
31
star
23

telescope-ghq.nvim

Lua
24
star
24

telescope-snippets.nvim

snippets.nvim integration
Lua
13
star