Chapter 8 — Shortcuts & Command Line
8.1 Default Shortcuts
“Help (H) → Keyboard Shortcuts” (F1) opens the full list:

Default bindings (customizable in the keymap editor — see
Chapter 7):
File
| Shortcut |
Action |
| Ctrl+S |
Save |
| Ctrl+Shift+S |
Save As |
| Ctrl+Alt+S |
Save All |
| Ctrl+W |
Close File |
Edit
| Shortcut |
Action |
| Ctrl+Z / Ctrl+Y |
Undo / Redo |
| Ctrl+X / Ctrl+C / Ctrl+V |
Cut / Copy / Paste |
| Ctrl+F / Ctrl+H |
Find / Replace |
| Ctrl+G |
Go To Line |
| Ctrl+Shift+F |
Format |
| Ctrl+/ |
Toggle Comment |
| Ctrl+Shift+K |
Delete Line |
Selection
| Shortcut |
Action |
| Ctrl+A |
Select All |
| Alt+Up / Alt+Down |
Move line up / down |
| Shift+Alt+Up / Shift+Alt+Down |
Copy line up / down |
| Tab / Shift+Tab |
Indent / Outdent |
| Ctrl+U / Ctrl+L |
To uppercase / lowercase |
View
| Shortcut |
Action |
| Ctrl+B |
Toggle file tree |
| Alt+Z |
Toggle word wrap |
| Ctrl+K Ctrl+0 / Ctrl+K Ctrl+J |
Fold All / Unfold All |
| Ctrl+= / Ctrl+- / Ctrl+0 |
Zoom in / out / reset |
Options & Help
| Shortcut |
Action |
| Ctrl+, |
Settings |
| Ctrl+Alt+T |
Custom theme editor |
| Ctrl+Alt+K |
Keymap editor |
| F1 |
Shortcut help |
8.2 Command-Line Arguments
wxeditor [-sid <session-id>] | [-host <host> -port <port> -authType pwd|cert
-authUser <user> [-authPwd <password> | -authCert <certfile>]]
[-file <path>] [-lang <code>] [-theme <name>] [-h]
| Argument |
Description |
-sid <session-id> |
Connect using an SSH session from wxterm’s sessions.json |
-host <host> -port <port> |
Direct remote connection |
-authType pwd\|cert |
Auth type: password or certificate |
-authUser <user> |
Login username |
-authPwd <password> |
Password (enc: prefix = wxterm master-key encrypted) |
-authCert <file> |
Private key path (temp key files are deleted after reading) |
-file <path> |
File to open at startup (remote) |
-lang <code> |
UI language code (e.g. en, zh-CN) |
-theme <name> |
UI theme name |
-h |
Show usage |
Examples:
# Local mode (same as double-click launch)
wxeditor
# Open a local file (its directory becomes the project)
wxeditor -file ~/project/ROV/main.rs
# Connect with a wxterm session and open a remote file
wxeditor -sid abc123 -file /etc/nginx/nginx.conf
# Direct remote connection
wxeditor -host 192.168.1.90 -port 22 -authType pwd -authUser root \
-authPwd secret -file /var/log/app.log
Without -sid and without direct-connection arguments, the app starts in
local mode: remote features are disabled and the file tree defaults to
the user’s home directory.