88 lines
3.5 KiB
Markdown
88 lines
3.5 KiB
Markdown
# Kitty Terminal Commands
|
|
|
|
## Scrolling & Navigation
|
|
|
|
| Command | Keyboard Shortcut |
|
|
|---------|-------------------|
|
|
| Line up | `ctrl+shift+up` (also `⌥+⌘+⇞` and `⌘+↑` on macOS) |
|
|
| Line down | `ctrl+shift+down` (also `⌥+⌘+⇟` and `⌘+↓` on macOS) |
|
|
| Page up | `ctrl+shift+page_up` (also `⌘+⇞` on macOS) |
|
|
| Page down | `ctrl+shift+page_down` (also `⌘+⇟` on macOS) |
|
|
| Top | `ctrl+shift+home` (also `⌘+↖` on macOS) |
|
|
| Bottom | `ctrl+shift+end` (also `⌘+↘` on macOS) |
|
|
| Previous shell prompt | `ctrl+shift+z` (see Shell integration) |
|
|
| Next shell prompt | `ctrl+shift+x` (see Shell integration) |
|
|
| Browse scrollback in less | `ctrl+shift+h` |
|
|
| Browse last cmd output | `ctrl+shift+g` (see Shell integration) |
|
|
|
|
## Tab Management
|
|
|
|
| Command | Keyboard Shortcut |
|
|
|---------|-------------------|
|
|
| New tab | `ctrl+shift+t` (also `⌘+t` on macOS) |
|
|
| Close tab | `ctrl+shift+q` (also `⌘+w` on macOS) |
|
|
| Next tab | `ctrl+shift+right` (also `⇧+⌃+⇥` and `⇧+⌘+]` on macOS) |
|
|
| Previous tab | `ctrl+shift+left` (also `⇧+⌃+⇥` and `⇧+⌘+[` on macOS) |
|
|
| Move tab forward | `ctrl+shift+.` |
|
|
| Move tab backward | `ctrl+shift+,` |
|
|
| Set tab title | `ctrl+shift+alt+t` (also `⇧+⌘+i` on macOS) |
|
|
|
|
## Window Management
|
|
|
|
| Command | Keyboard Shortcut |
|
|
|---------|-------------------|
|
|
| New window | `ctrl+shift+enter` (also `⌘+↩` on macOS) |
|
|
| New OS window | `ctrl+shift+n` (also `⌘+n` on macOS) |
|
|
| Close window | `ctrl+shift+w` (also `⇧+⌘+d` on macOS) |
|
|
| Close non-active windows (*) | `F9` |
|
|
| Resize window | `ctrl+shift+r` (also `⌘+r` on macOS) |
|
|
| Next window | `ctrl+shift+]` |
|
|
| Previous window | `ctrl+shift+[` |
|
|
| Move window forward | `ctrl+shift+f` |
|
|
| Move window backward | `ctrl+shift+b` |
|
|
| Move window to top | `ctrl+shift+`` |
|
|
| Visually focus window | `ctrl+shift+f7` |
|
|
| Visually swap window | `ctrl+shift+f8` |
|
|
| Focus specific window | `ctrl+shift+1`, `ctrl+shift+2` … `ctrl+shift+0` (also `⌘+1`, `⌘+2` … `⌘+9` on macOS) (clockwise from the top-left) |
|
|
| Next layout | `ctrl+shift+l` |
|
|
|
|
## Copy & Paste
|
|
|
|
| Command | Keyboard Shortcut |
|
|
|---------|-------------------|
|
|
| Copy to clipboard | `ctrl+shift+c` (also `⌘+c` on macOS) |
|
|
| Paste from clipboard | `ctrl+shift+v` (also `⌘+v` on macOS) |
|
|
| Paste from selection | `ctrl+shift+s` |
|
|
| Pass selection to program | `ctrl+shift+o` |
|
|
|
|
## Font & Display
|
|
|
|
| Command | Keyboard Shortcut |
|
|
|---------|-------------------|
|
|
| Increase font size | `ctrl+shift+equal` (also `⌘++` on macOS) |
|
|
| Decrease font size | `ctrl+shift+minus` (also `⌘+-` on macOS) |
|
|
| Restore font size | `ctrl+shift+backspace` (also `⌘+0` on macOS) |
|
|
| Toggle fullscreen | `ctrl+shift+f11` (also `⌃+⌘+f` on macOS) |
|
|
| Toggle maximized | `ctrl+shift+f10` |
|
|
| Increase background opacity | `ctrl+shift+a>m` |
|
|
| Decrease background opacity | `ctrl+shift+a>l` |
|
|
| Full background opacity | `ctrl+shift+a>1` |
|
|
| Reset background opacity | `ctrl+shift+a>d` |
|
|
|
|
## Configuration & System
|
|
|
|
| Command | Keyboard Shortcut |
|
|
|---------|-------------------|
|
|
| Edit kitty.conf | `ctrl+shift+f2` (also `⌘+,` on macOS) |
|
|
| Reload kitty.conf | `ctrl+shift+f5` (also `⌃+⌘+,` on macOS) |
|
|
| Debug kitty.conf | `ctrl+shift+f6` (also `⌥+⌘+,` on macOS) |
|
|
| Reset the terminal | `ctrl+shift+delete` (also `⌥+⌘+r` on macOS) |
|
|
| Open a kitty shell | `ctrl+shift+escape` |
|
|
| Show this help | `ctrl+shift+f1` |
|
|
|
|
## Miscellaneous
|
|
|
|
| Command | Keyboard Shortcut |
|
|
|---------|-------------------|
|
|
| Input Unicode character | `ctrl+shift+u` (also `⌃+⌘+space` on macOS) |
|
|
| Open URL in web browser | `ctrl+shift+e` | |