v0.26.2 3cd9d2e

keybindings.md RawHistoryFolder

Keybindings

Dumber uses modal keybindings inspired by Zellij. Press a mode activation key, then use action keys within that mode.

Mode Activation

Mode Key Purpose
Pane Mode Ctrl+P Split, close, focus panes
Tab Mode Ctrl+T Create, close, switch tabs
Resize Mode Ctrl+N Resize pane splits
Session Mode Ctrl+O Session management

Press Escape or Enter to exit any mode.

Pane Mode (Ctrl+P)

Action Keys
Split right →, R
Split left ←, L
Split up ↑, U
Split down ↓, D
Stack pane S
Close pane X
Move to tab M
Move to next tab Shift+M
Focus right Shift+→, Shift+L
Focus left Shift+←, Shift+H
Focus up Shift+↑, Shift+K
Focus down Shift+↓, Shift+J
Consume/expel left [
Consume/expel right ]
Consume/expel up {
Consume/expel down }
Confirm Enter
Cancel Escape

Tab Mode (Ctrl+T)

Action Keys
New tab N, C
Close tab X
Next tab L, Tab
Previous tab H, Shift+Tab
Rename tab R
Confirm Enter
Cancel Escape

Resize Mode (Ctrl+N)

Action Keys
Increase left H, ←
Increase down J, ↓
Increase up K, ↑
Increase right L, →
Decrease left Shift+H
Decrease down Shift+J
Decrease up Shift+K
Decrease right Shift+L
Increase (smart) +, =
Decrease (smart) -
Confirm Enter
Cancel Escape

Session Mode (Ctrl+O)

Action Keys
Session manager S, W
Confirm Enter
Cancel Escape

Global Shortcuts

These work outside modal modes:

Action Keys
Close pane Ctrl+W
Next tab Ctrl+Tab
Previous tab Ctrl+Shift+Tab
Consume/expel left Alt+[
Consume/expel right Alt+]
Consume/expel up Alt+{
Consume/expel down Alt+}

Customization

All keybindings can be customized in ~/.config/dumber/config.toml:

[workspace.pane_mode.actions]
split-right = ["arrowright", "r"]
close-pane = ["x", "q"]

[workspace.shortcuts.actions.close_pane]
keys = ["ctrl+w"]

See Configuration for full details.

source
1# Keybindings
2
3Dumber uses modal keybindings inspired by Zellij. Press a mode activation key, then use action keys within that mode.
4
5## Mode Activation
6
7| Mode | Key | Purpose |
8|------|-----|---------|
9| Pane Mode | `Ctrl+P` | Split, close, focus panes |
10| Tab Mode | `Ctrl+T` | Create, close, switch tabs |
11| Resize Mode | `Ctrl+N` | Resize pane splits |
12| Session Mode | `Ctrl+O` | Session management |
13
14Press `Escape` or `Enter` to exit any mode.
15
16## Pane Mode (`Ctrl+P`)
17
18| Action | Keys |
19|--------|------|
20| Split right | `→`, `R` |
21| Split left | `←`, `L` |
22| Split up | `↑`, `U` |
23| Split down | `↓`, `D` |
24| Stack pane | `S` |
25| Close pane | `X` |
26| Move to tab | `M` |
27| Move to next tab | `Shift+M` |
28| Focus right | `Shift+→`, `Shift+L` |
29| Focus left | `Shift+←`, `Shift+H` |
30| Focus up | `Shift+↑`, `Shift+K` |
31| Focus down | `Shift+↓`, `Shift+J` |
32| Consume/expel left | `[` |
33| Consume/expel right | `]` |
34| Consume/expel up | `{` |
35| Consume/expel down | `}` |
36| Confirm | `Enter` |
37| Cancel | `Escape` |
38
39## Tab Mode (`Ctrl+T`)
40
41| Action | Keys |
42|--------|------|
43| New tab | `N`, `C` |
44| Close tab | `X` |
45| Next tab | `L`, `Tab` |
46| Previous tab | `H`, `Shift+Tab` |
47| Rename tab | `R` |
48| Confirm | `Enter` |
49| Cancel | `Escape` |
50
51## Resize Mode (`Ctrl+N`)
52
53| Action | Keys |
54|--------|------|
55| Increase left | `H`, `←` |
56| Increase down | `J`, `↓` |
57| Increase up | `K`, `↑` |
58| Increase right | `L`, `→` |
59| Decrease left | `Shift+H` |
60| Decrease down | `Shift+J` |
61| Decrease up | `Shift+K` |
62| Decrease right | `Shift+L` |
63| Increase (smart) | `+`, `=` |
64| Decrease (smart) | `-` |
65| Confirm | `Enter` |
66| Cancel | `Escape` |
67
68## Session Mode (`Ctrl+O`)
69
70| Action | Keys |
71|--------|------|
72| Session manager | `S`, `W` |
73| Confirm | `Enter` |
74| Cancel | `Escape` |
75
76## Global Shortcuts
77
78These work outside modal modes:
79
80| Action | Keys |
81|--------|------|
82| Close pane | `Ctrl+W` |
83| Next tab | `Ctrl+Tab` |
84| Previous tab | `Ctrl+Shift+Tab` |
85| Consume/expel left | `Alt+[` |
86| Consume/expel right | `Alt+]` |
87| Consume/expel up | `Alt+{` |
88| Consume/expel down | `Alt+}` |
89
90## Customization
91
92All keybindings can be customized in `~/.config/dumber/config.toml`:
93
94```toml
95[workspace.pane_mode.actions]
96split-right = ["arrowright", "r"]
97close-pane = ["x", "q"]
98
99[workspace.shortcuts.actions.close_pane]
100keys = ["ctrl+w"]
101```
102
103See [Configuration](../config/index.md) for full details.

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 8

Tags 42

↑↓ moveenter openesc close