HomeProjectskat800Key bindings

Key bindings

Every kat800 key binding, and the bash line-editing keys that work inside its panes, on one page that prints.

A page of kat800.

All of kat800’s key bindings on one page, laid out to print. The leader is Ctrl+A by default and is set in ~/.config/kat800/config.toml; the chords themselves are fixed. Press the leader twice to send it through to the shell.

A moment after the leader, an overlay lists what can follow, as in Emacs and Vim, so the chords do not have to be memorised: press the leader and read the menu.

Anywhere

Fires regardless of what has focus.

KeysAction
Ctrl+Shift+NNew Window
Ctrl+Shift+TNew Tab
Ctrl+PgUpPrevious Tab (outside a panel)
Ctrl+PgDnNext Tab (outside a panel)
Ctrl+TabRecent Tab
Ctrl+Shift+TabRecent Tab (forward)
Alt+PgUpPrevious Pane
Alt+PgDnNext Pane
Ctrl+Shift+GToggle Git Panel
Ctrl+Shift+@Toggle Katai Panel
Ctrl+Shift+KToggle Clipboard Panel
Ctrl+Shift+DToggle Containers Panel
Ctrl+Shift+UToggle Doctor Panel
Ctrl+Shift+HToggle History Panel
Ctrl+Shift+MToggle Memos Panel
Ctrl+Shift+RToggle Remotes Panel
Ctrl+Shift+FToggle Files Panel
Ctrl+Shift+OToggle Opened Panel
Ctrl+Shift+BToggle Bookmarks Panel
Ctrl+Shift+WToggle Workspaces Panel
Ctrl+`Focus Terminal / Panel
F9Show All Panels
F10App Menu
F11Fullscreen
F1Handbook
Ctrl+?Keyboard Shortcuts

In a terminal

Needs a focused terminal pane.

KeysAction
F2Rename Tab
Shift+F10 / MenuContext Menu
Ctrl+Shift+CCopy
Ctrl+Shift+VPaste
Ctrl+=Zoom In
Ctrl+-Zoom Out
Ctrl+0Zoom Reset
Alt+←↑↓→Focus Pane
Alt+Shift+←↑↓→Resize Pane
Ctrl+Shift+←→Previous / Next Prompt
Ctrl+Shift+↑↓Scroll One Line
Shift+PgUp / PgDnScroll One Page
Shift+Home / EndScroll to Top / Bottom
Ctrl+N / Ctrl+PFind Next / Previous (search open)
Enter / Shift+EnterFind Next / Previous (in the bar)
↑ / ↓Search History (in the bar)
Tab / Shift+TabMove within the Search Bar
EscClose Search Bar

Leader chords

Press the leader, then the sequence. Grouped by what they act on: w window, t tab, s split, p pane, and d, v, e for diff, image and editor tabs.

KeysAction
w nNew Window
w cClose Window
t nNew Tab
t cClose Tab
t rRename Tab
t pPane 2 Tab
t sSpread Tabs
1 – 9Jump to Tab
s nNew Split
s cClose Split
s rRight Split
s dDown Split
s eEqualize Splits
s sNew Sandbox
p cCapture Pane
p mMaximize Pane
p pSwap Pane
p rRotate Profile
p eEdit Scrollback
p sSearch Scrollback
p hScrollback Highlight
p fFollow Terminal
d nNext Hunk
d pPrevious Hunk
d NNext File
d PPrevious File
d sDiff Scope
d rRefresh
d fFiles in This Diff
v fFit
v wFill
v 1Actual Size
v rRotate Right
v RRotate Left
v pPause / Resume
v iProperties
e sSave
e fFind
e rFind and Replace
e gGo to Line
e uUndo
e URedo
e cToggle Spellcheck
e 0Zoom Reset
e +Zoom In
e -Zoom Out

In a panel

The dock filter lists: clipboard, history, files and the rest.

KeysAction
EnterRun in the Terminal
Ctrl+EnterInsert without Running
Shift+EnterRun in a New Tab
Ctrl+Shift+EnterRun in a New Window
↑ / ↓Move the Selection
Tab / Shift+TabMove between Search, Panel Menu and List
Ctrl+HShow Hidden Files (Files panel)
Alt+EnterProperties (Files panel)
Shift+F10Row Actions Menu

In a focused dock

While a dock holds focus, these take over from the tab keys.

KeysAction
Ctrl+PgUpPrevious Panel
Ctrl+PgDnNext Panel
Alt+Shift+↑↓Resize Bottom Panel
Alt+Shift+←→Resize Side Panel

In the editor

Editor tabs, including a memo opened from Ambrosia.

KeysAction
Ctrl+SSave
Ctrl+FFind
Ctrl+HFind and Replace
Ctrl+N / Ctrl+PFind Next / Previous (find bar open)
EscClose Find Bar
Ctrl+IGo to Line
Ctrl+ZUndo
Ctrl+Shift+ZRedo
Ctrl+XCut
Ctrl+CCopy
Ctrl+VPaste
Ctrl+BackspaceDelete Word Before
Ctrl+DeleteDelete Word After
InsertToggle Overwrite
Ctrl+←→Move by Word
Home / EndLine Start / End
Ctrl+Home / Ctrl+EndDocument Start / End
PgUp / PgDnScroll by Page
Ctrl+=Zoom In
Ctrl+-Zoom Out
Ctrl+0Zoom Reset

In a diff tab

A diff tab has no pane, so Alt and the arrows move between hunks and files.

KeysAction
Alt+↓ / Alt+↑Next / Previous Hunk
Alt+Shift+↓ / Alt+Shift+↑Next / Previous File
Ctrl+FFind
Ctrl+N / Ctrl+PFind Next / Previous (find bar open)
EscClose Find Bar
F5Refresh
Ctrl+=Zoom In
Ctrl+-Zoom Out
Ctrl+0Zoom Reset

In an image tab

Single keys, with the image focused.

KeysAction
0Fit
1Actual Size
WSwitch Between Fit and Fill
+ / -Zoom In / Out (keypad too)
←→↑↓ / H J K LPan (zoomed in)
R / Shift+RRotate Right / Left
PPause / Resume

At the bash prompt

These are readline’s defaults rather than anything kat800 does, so they work in any bash prompt. Inside a pane they reach the shell untouched, with two exceptions: Ctrl+A is the leader, so press it twice to send it to bash, and Ctrl+N / Ctrl+P step through matches while the search bar is open.

Moving the cursor

Readline's defaults, so they hold in any bash prompt.

KeysAction
Ctrl+AGo to the beginning of the line
Ctrl+EGo to the end of the line
Ctrl+FForward one character
Ctrl+BBack one character
Alt+FForward one word
Alt+BBack one word
Ctrl+X Ctrl+XToggle between the start of the line and the cursor

Editing the line

Cut text goes to readline's own ring, not the desktop clipboard.

KeysAction
Ctrl+WCut the word before the cursor
Ctrl+KCut the line after the cursor
Ctrl+UCut the line before the cursor
Ctrl+YPaste the last thing cut
Alt+BackspaceCut the word before the cursor
Alt+DCut the word after the cursor
Ctrl+DDelete the character under the cursor
Ctrl+HDelete the character before the cursor
Ctrl+TSwap the character before the cursor with the one under it
Alt+T (or Esc T)Swap the current word with the previous one
Alt+UUpper-case from the cursor to the end of the word
Alt+LLower-case from the cursor to the end of the word
Alt+CCapitalise the character under the cursor and move to the end of the word
Alt+RPut the line back as it was in the history
Ctrl+_Undo
Ctrl+LClear the screen
TabComplete a file or directory name