gh-select

Keybindings

Every key on every screen of gh-select.

View as Markdown

ctrl+c quits from every screen. Where a search or filter box holds text, the first press clears it and the second quits. Pressing ? on an empty repository search shows the list screen's keys in the app, together with credits and your API rate limits.

Repository list

Bare keys are search input here, so actions use tab and ctrl combinations.

KeyAction
typefilter the list, or search GitHub
tabnext scope: my repos, starred, GitHub search
shift+tabprevious scope
ctrl+snext sort
ctrl+tnext color theme, remembered
ctrl+gnext border style, this session only
ctrl+otoggle Nerd Font icons, this session only
↑ ↓, pgup pgdn, home endmove
enteropen the action menu
escclear the search, then leave GitHub scope, then quit
backspacedelete a character
ctrl+xmark or unmark a repository you own for deletion
ctrl+dreview and delete every marked repository
?credits, keys and rate limits, on an empty search
ctrl+cclear the search, or quit

Filter tokens such as lang:go and is:fork are typed into the search. See filter tokens.

Help overlay

Opened with ?.

The help overlay

KeyAction
↑ ↓, k j, pgup pgdnscroll
gopen the author's GitHub profile
wopen the author's website
sopen the source code
iopen a new issue
ropen the release notes for your version
?, esc, q, enterclose

Action menu

KeyAction
↑ ↓, k jmove
enter, →, lchoose
the row numberchoose that row, so 2 picks the second entry
esc, ←, h, backspaceback to the list
q, ctrl+cquit

Tree browser

KeyAction
↑ ↓, k jmove
enter, →, lopen a folder, or preview a file
←, h, backspaceparent folder
space, tabmark or unmark a file or folder
cpartial clone of the marked paths
ssave the marked paths, or the highlighted one, without git
ycopy the highlighted file's contents
bswitch branch or tag
oopen on github.com
Ycopy a permalink pinned to the current commit
rcopy the raw download URL
/filter the current folder
?show the keys
escclear the filter, then go back
qback to the action menu
ctrl+cclear the filter, or quit

While the filter box is active, text goes into it. enter, ↑ and ↓ keep the filter and return to navigation, and esc clears it.

File preview

KeyAction
↑ ↓scroll
ycopy the file's contents
ssave the file
oopen on github.com
Ycopy a permalink
rcopy the raw URL
esc, q, ←, h, backspaceclose

Branch and tag picker

Opened with b in the tree browser and by Clone branch… in the action menu.

KeyAction
typesearch
↑ ↓move
enterbrowse that ref in the tree browser, or clone it from the action menu
escback

Releases

Releases level

KeyAction
↑ ↓, k j, home g, end G, pgup pgdnmove
/filter
nnotes full screen
oopen the release page
ycopy the release link
enter, →, lopen the downloads
escclear the filter, then go back
q, ←, h, backspaceback

Downloads level

KeyAction
spacemark an asset and move down
amark all, or unmark all
vpreview a text asset
ycopy the download link
oopen the release page
enter, ddownload the marked assets
xdownload and unpack
/filter
esc, ←, h, backspaceback to the releases
qleave releases

While a filter box is active: type filters, enter finishes, esc clears.

README and notes

KeyAction
↑ ↓scroll
esc, q, ←, h, backspaceback

Delete confirmation

KeyAction
typethe confirmation phrase
enterdelete, once the phrase matches exactly
backspacedelete a character
esccancel and return
ctrl+cclear what you typed, or quit
Edit this page on GitHub

Last updated on

On this page