• This repository has been archived on 28/Jul/2022
  • Stars
    star
    157
  • Rank 237,189 (Top 5 %)
  • Language
    Vim Script
  • License
    MIT License
  • Created about 4 years ago
  • Updated about 2 years ago

Reviews

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

Repository Details

Vim/Neovim plugin for GitHub

gh.vim - Vim/Neovim plugin for GitHub

Development of gh.vim has stopped, please use denops-gh.vim instead

gh.vim provides some featuers of GitHub use it on Vim.
For instance, you can see issue list or create issue, and GitHub Actions status, etc.

Features

  • issues
    • create/edit/close/open/list
  • issue comments
    • create/edit/list
  • pull request
    • diff/list/merge
  • repository
    • list/show README
  • project
    • list/card list/move card
  • github actions
    • list/open job logs
  • file tree
    • open file
  • gist
    • list/edit/create

Requirements

  • curl
  • git

Usage

If you logged in with gh command, the access token is automatically fetched.

If you want to overwrite the token or set manually, write your personal access token like below.

let g:gh_token = 'xxxxxxxxxxxxxxxxxxxx'

gh.vim just provides virtual buffers likes gh://:owner/:repo/issues, no any commands.
:owner is user name or organization name, :repo is repository name.

If you want see issue list, please open buffer like bellow.

:new gh://skanehira/gh.vim/issues

Options

option description
g:gh_token GitHub personal access token
g:gh_open_issue_on_create open issue on browser after created

Buffer list

currently gh.vim provides buffers is bellow.

buffer description
gh://[pulls|issues|readme|projects|actions][?key=value] reopen buffer as current repository's :owner/:repo
gh://:owner/:repo/issues[?state=open&..] issue list
gh://:owner/:repo/issues/:number edit issue
gh://:owner/:repo/issues/new new issue
gh://:owner/:repo/issues/:number/comments[?page=1&..] issue comment list
gh://:owner/:repo/issues/:number/comments/new new issue comment
gh://:owner/:repo/issues/:number/comments/:id edit issue comment
gh://:owner/repos repository list
gh://user/repos authenticated user repository list
gh://:owner/:repo/readme repository readme
gh://:owner/:repo/pulls[?state=open&...] pull request list
gh://:owner/:repo/pulls/:number/diff pull request list diff
gh://:owner/:repo/projects project list
gh://orgs/:org/projects organization project list
gh://projects/:id/columns project column list
gh://:owner/:repo/actions[?status=success&...] github action's workflows/steps
gh://:owner/:repo/[:branch/:tree_sha]/files[?recache=1] repository file tree
gh://bookmarks your bookmarks
gh://:owner/gists[?privacy=public] gist list
gh://:owner/gists/:id/:file edit gist file
gh://gists/new/:filename new gist

Author

skanehira

Thanks

More Repositories

1

docui

TUI Client for Docker
Go
2,281
star
2

pst

TUI process monitor written in Go
Go
330
star
3

preview-markdown.vim

Markdown preview plugin for Vim
Vim Script
202
star
4

docker.vim

Manage docker images, containers in Vim
Vim Script
175
star
5

rtty

Terminal on browser via websocket
Go
165
star
6

github-tui

TUI client for GitHub
Go
160
star
7

tson

TUI json editor and viewer written in Go
Go
131
star
8

translate.vim

translate language plugin
Vim Script
120
star
9

gjo

Small utility to create JSON objects
Go
118
star
10

ff

file manager on terminal written in Go
Go
74
star
11

code2img

generating images of source code
Go
62
star
12

denops-docker.vim

Manage Docker in Vim/Neovim
TypeScript
62
star
13

preview-uml.vim

Vim plugin for previewing UML
Vim Script
60
star
14

docker-compose.vim

Vim plugin wrapping docker-compose
Vim Script
55
star
15

go-cli-template

Go CLI Template
Go
51
star
16

denops-twihi.vim

Unofficial Vim plugin for Twitter
TypeScript
44
star
17

slack-reminder

Slack remind generator
Go
43
star
18

go-starwars

StarWars written in Go
Go
43
star
19

dotfiles

my dotfiles
Lua
38
star
20

denops-silicon.vim

A plugin to generate image from source code.
TypeScript
38
star
21

deno-clippy

cross-platform Deno module for writing and reading clipboard.
TypeScript
35
star
22

denops-gh.vim

Vim/Neovim plugin for GitHub
TypeScript
34
star
23

jumpcursor.vim

Move cursor anywhere
Vim Script
34
star
24

gocui-component

gocui component
Go
34
star
25

session.vim

ゴリラ.vimのハンズオン資料
Vim Script
33
star
26

remonade

Unofficial Nature Remo CLI
Go
28
star
27

christmas.vim

Vim Script
23
star
28

gtran

Google translate CLI
Go
23
star
29

badapple.vim

Play Bad Apple!! ascii animation
Vim Script
23
star
30

vsession

vim session manager
Vim Script
22
star
31

k8s.vim

Vim/Neovim plugin for Kubernetes
TypeScript
21
star
32

tiny-wasm-runtime

Reference Implementation for Book of "Writing A Wasm Runtime in Rust"
Rust
17
star
33

denops-translate.vim

Translate languages
TypeScript
17
star
34

yd

YAML Incremental Digger.
Go
15
star
35

clipboard-image

Write to and read from image in clipboard
Go
15
star
36

fk

Kill specific processes with fuzzy finder
Makefile
13
star
37

languagetool-lint

Lint CLI for languagetool.
Go
12
star
38

getpr

Get GitHub's pull request url
Go
11
star
39

swagger-preview

Swagger Preview CLI
Go
11
star
40

code2img.vim

generate image of source code
Vim Script
11
star
41

denops-graphql.vim

GraphQL client for Vim/Neovim
TypeScript
10
star
42

gyazo.vim

Vim plugin for Gyazo
Vim Script
10
star
43

mcp

Copy multiple files using your editor
Go
10
star
44

denops-germanium.vim

Generate image from source code
TypeScript
9
star
45

qfopen.vim

Provides way that open file on quickfix and location list.
Vim Script
9
star
46

denops-openai.vim

TypeScript
9
star
47

command.vim

Execute shell commands in terminal
TypeScript
9
star
48

diff-file

Show specified file's git diff
Go
9
star
49

vue-go-oauth

Authentication Twitter using vue.js and Go Sample
JavaScript
8
star
50

deno-silicon

Deno module to generate images from source code using Aloxaf/silicon.
TypeScript
8
star
51

denops-template.vim

A plugin template for denops.vim
Makefile
6
star
52

inqfix.vim

Vim Script
6
star
53

http.vim

Vim Script
6
star
54

gol

Application Launcher written in Go
Go
6
star
55

denops-delve.vim

Vim/Neovim plugin of delve that can debug Go programs
TypeScript
5
star
56

got

simple tmux tool with go
Go
5
star
57

xj

convert xml to JSON CLI
Go
5
star
58

beatbanana.vim

Vim Script
5
star
59

amzn-url-shorter

Generate short Amazon URL
Go
5
star
60

deno-clipboard-image

A deno module that write image to, and read image from clipboard.
TypeScript
5
star
61

go-run

Go
4
star
62

gorilla-compose

Go
4
star
63

gorillasay

Go
4
star
64

risp

Rust
4
star
65

go-remote-debug

Shell
4
star
66

gitio

CLI for git.io
Go
4
star
67

denops-mysql.vim

TypeScript
3
star
68

quickrun-neoterm.vim

Vim Script
3
star
69

sandbox

Rust
3
star
70

say.vim

Vim Script
3
star
71

go-dockerveth

Show which docker containers are attached to which veth interfaces.
Go
3
star
72

denops-quickpick

TypeScript
3
star
73

popupfiles.vim

Vim Script
3
star
74

DelayTrainsInfo

世のサラリーマンの足である電車の遅延情報を知りたい。
Vue
3
star
75

golang-sample-api

Go
3
star
76

chibiwasm

Rust
2
star
77

getpr.vim

Get GitHub's pull request URL
Vim Script
2
star
78

gotree

tree command written in Go
Go
2
star
79

vim-plugin-template

Vim plugin template
2
star
80

gyazo

Go
2
star
81

twigori

Twitter Gorillaizer
JavaScript
2
star
82

gorilla

ゴリラの技術ブログ
Vue
2
star
83

wasm_runtime.vim

A small wasm runtime written in vim script.
Vim Script
2
star
84

db-data-generator

Generate test data to database.
Go
2
star
85

sample_api

Go
2
star
86

deno_runtime_example

Rust
2
star
87

minidb

Go
2
star
88

denops-ripgrep.vim

TypeScript
2
star
89

generatedir.vim

Auto generate directory structure
Vim Script
2
star
90

tw

TUI Client for Twitter
Makefile
2
star
91

rjs

Rust
1
star
92

rjo

jpmens/jo ported with Rust
Rust
1
star
93

gql.vim

The Vim plugin that for call GraphQL API
Vim Script
1
star
94

spa-sample

TypeScript
1
star
95

deno-template

deno module template
TypeScript
1
star
96

TodoSample

Todoアプリのサンプル
Vue
1
star
97

gorillachat

Go
1
star
98

zmemo

メモウェブアプリ
1
star
99

compomize

The utility which Convert k8s Manifest to docker-compose.yaml
Go
1
star
100

learning-web-security

Go
1
star