Keyboard Shortcuts
CACD’s terminal interface (TUI) supports customizable keyboard shortcuts for common actions.
Available Shortcuts
Section titled “Available Shortcuts”| Action | Default | Description |
|---|---|---|
| Return to Menu | Ctrl+E | Exit the current session view and return to the main menu |
| Cancel | Escape | Cancel the current operation or close dialogs |
Configuring Shortcuts
Section titled “Configuring Shortcuts”- Open Settings in the WebUI
- Go to Shortcuts
- Click on a shortcut to change it
- Press your desired key combination
- Save
Key Format
Section titled “Key Format”Shortcuts can include modifiers:
ctrl- Control keyalt- Alt/Option keyshift- Shift key
Plus a base key (letter, number, or special key like escape).
Example combinations:
Ctrl+R- Control + RAlt+X- Alt + XEscape- Just the Escape key (no modifier)
Reserved Keys
Section titled “Reserved Keys”These combinations can’t be used as shortcuts:
Ctrl+C- Reserved for interrupt/copyCtrl+D- Reserved for EOF/logoutCtrl+[- Equivalent to Escape
Configuration File
Section titled “Configuration File”Shortcuts are stored in your config file at ~/.config/cacd/config.json:
{ "shortcuts": { "returnToMenu": { "ctrl": true, "key": "e" }, "cancel": { "key": "escape" } }}- Shortcuts apply to the TUI only, not the WebUI
- The WebUI uses standard browser shortcuts
- Changes take effect immediately after saving