Keyboard Shortcuts
Terminal shortcuts
These work in the MoltShell terminal the same way they work in any terminal emulator.
| Shortcut | Action |
|---|---|
Ctrl+C | Interrupt (SIGINT) -- stops the current process |
Ctrl+D | EOF -- exits the current shell or sends end-of-file |
Ctrl+Z | Suspend (SIGTSTP) -- backgrounds the current process |
Ctrl+L | Clear the screen |
Ctrl+A | Move cursor to beginning of line |
Ctrl+E | Move cursor to end of line |
Ctrl+U | Delete from cursor to beginning of line |
Ctrl+K | Delete from cursor to end of line |
Ctrl+W | Delete the word before the cursor |
Ctrl+R | Reverse search through command history |
Tab | Autocomplete file names and commands |
Up Arrow | Previous command in history |
Down Arrow | Next command in history |
Copy and paste
| Shortcut | Action |
|---|---|
Ctrl+Shift+C | Copy selected text to clipboard |
Ctrl+Shift+V | Paste from clipboard |
| Drag to select | Auto-copies to clipboard via OSC 52 |
Text selection in the terminal uses tmux's copy mode with OSC 52 clipboard integration. When you drag to select text, it is automatically copied to your system clipboard. No need to right-click and choose "Copy".
The copy button in each pane's header also copies the current text selection to the clipboard.
tmux shortcuts
Since MoltShell uses tmux for session persistence, you can use tmux key bindings. The default tmux prefix is Ctrl+B.
| Shortcut | Action |
|---|---|
Ctrl+B then [ | Enter scroll/copy mode |
Ctrl+B then q | Show pane numbers |
Ctrl+B then d | Detach from session (the session continues running) |
Ctrl+B then ? | List all key bindings |
WARNING
Avoid using tmux's built-in split commands (Ctrl+B % or Ctrl+B "). MoltShell manages splits at the application level, and tmux-level splits will not be reflected in the UI. Use the split buttons in the pane header instead.
Mobile shortcuts
On mobile devices, special keys are available through the keyboard helper bar at the bottom of the screen. See Mobile Terminal for details on the available buttons.