main 6af0a61

go.mod RawHistoryFolder

1module github.com/bnema/archup
2
3go 1.25.3
4
5require (
6	github.com/charmbracelet/bubbles v1.0.0
7	github.com/charmbracelet/bubbletea v1.3.10
8	github.com/charmbracelet/lipgloss v1.1.0
9	github.com/google/uuid v1.6.0
10	github.com/spf13/cobra v1.10.2
11	go.uber.org/mock v0.6.0
12)
13
14require (
15	github.com/atotto/clipboard v0.1.4 // indirect
16	github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect
17	github.com/charmbracelet/colorprofile v0.4.1 // indirect
18	github.com/charmbracelet/x/ansi v0.11.6 // indirect
19	github.com/charmbracelet/x/cellbuf v0.0.15 // indirect
20	github.com/charmbracelet/x/term v0.2.2 // indirect
21	github.com/clipperhouse/displaywidth v0.9.0 // indirect
22	github.com/clipperhouse/stringish v0.1.1 // indirect
23	github.com/clipperhouse/uax29/v2 v2.5.0 // indirect
24	github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f // indirect
25	github.com/inconshreveable/mousetrap v1.1.0 // indirect
26	github.com/lucasb-eyer/go-colorful v1.3.0 // indirect
27	github.com/mattn/go-isatty v0.0.20 // indirect
28	github.com/mattn/go-localereader v0.0.1 // indirect
29	github.com/mattn/go-runewidth v0.0.19 // indirect
30	github.com/muesli/ansi v0.0.0-20230316100256-276c6243b2f6 // indirect
31	github.com/muesli/cancelreader v0.2.2 // indirect
32	github.com/muesli/termenv v0.16.0 // indirect
33	github.com/rivo/uniseg v0.4.7 // indirect
34	github.com/spf13/pflag v1.0.10 // indirect
35	github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e // indirect
36	golang.org/x/sys v0.40.0 // indirect
37	golang.org/x/text v0.33.0 // indirect
38)

Keyboard shortcuts

Single-key shortcuts are on. ctrl k and esc work whatever this says.

ctrl k :
go to a section, branch, tag, file or repository
?
this list
j k
move the row cursor down / up
enter
open the row under the cursor; on Files, a directory opens or closes in place
↑ ↓ ← → home end
in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file
l h
on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls
g g G
first / last row
/
filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)
b
switch branch or tag
g s g f g c g b g m g i g r g a
tabs: summary, files, commits, branches & tags, merge requests, issues, releases, actions (when available)
g h
home
w
wide mode: use the whole width of the screen, or not (remembered)
y
copy a permalink pinned to the commit
d u x
diff: split / unified / collapse or expand all
e E
diff: the whole file in view / every file, with the lines the hunks hide
n
merge request: next note in the diff
esc
close a dialog, leave a field

Branches 1

Tags 0

    ↑↓ moveenter openesc close