SPB Git

Repository Public

SHORTCUTS.md 2.3 KB 45 lines markdown

1# NEXTERM keyboard shortcuts23All NEXTERM shortcuts use ⌘ so they never reach the shell or TUI programs (which only receive4unmodified, ⌃ and ⌥ keys). SwiftTerm forwards ⌘-keys to the menu bar before the terminal sees them;5the only exception is a program that explicitly enables the Kitty keyboard protocol with ⌘ reporting6(`shouldSendCommandKeyToTerminal`), which NEXTERM leaves off by default.78| Action | Default | Menu |9|---|---|---|10| New Window | ⌘N | File |11| New Tab | ⌘T | File |12| Close Pane (closes the tab when it is the last pane) | ⌘W | File |13| Close Tab | ⇧⌘W | File |14| Split Right (vertical divider) | ⌘D | Shell |15| Split Down (horizontal divider) | ⇧⌘D | Shell |16| Clear Screen and Scrollback | ⌘K | Shell |17| Find… / Find Next / Find Previous | ⌘F / ⌘G / ⇧⌘G | Shell |18| Focus Next / Previous Pane | ⌘] / ⌘[ | Pane |19| Focus Left / Right / Up / Down | ⌥⌘← / ⌥⌘→ / ⌥⌘↑ / ⌥⌘↓ | Pane |20| Maximize / Restore Pane | ⇧⌘↩ | Pane |21| Equalize Panes | ⌥⌘= | Pane |22| Move Pane to New Window | ⌥⌘N | Pane |23| Next / Previous Tab | ⇧⌘] / ⇧⌘[ | View |24| Tab 1 … 8 | ⌘1 … ⌘8 | View |25| Show/Hide Sidebar | ⌃⌘S | View |26| Show/Hide Inspector | ⌃⌘I | View |27| Focus Mode (hide all chrome) | ⌃⌘F | View |28| Zoom In / Out / Actual Size | ⌘+ / ⌘- / ⌘0 | View |29| Command Palette | ⇧⌘P | View (Phase 5) |30| Mission Control | ⇧⌘M | Window (Phase 3) |31| Workspace Switcher | ⌃⌘W | Window (Phase 2) |32| Copy / Paste / Select All | ⌘C / ⌘V / ⌘A | Edit (standard responder chain) |33| Settings | ⌘, | NEXTERM |3435Inside the terminal, the usual control keys (⌃C, ⌃D, ⌃Z, ⌃R…) go straight to the program.36Option acts as Meta by default (Settings → Behavior).3738## Customisation39Settings ▸ Keys lists every action with its default. Enter a shortcut as `cmd+shift+t`, `ctrl+cmd+g`,40`cmd+return`, `cmd+]` … (modifiers: cmd, shift, option/alt, ctrl; keys: single characters, return,41escape, space, tab, delete, up/down/left/right). A shortcut must include ⌘ — anything else is rejected so42it can never collide with the shell. Conflicts between two actions are flagged in the same pane.43Overrides live in the settings table (`app.settings` → `keybindings`) and take effect at the next launch,44because SwiftUI builds the menu bar once.45
Files main
Menu

Theme