panel: ${panel}
Key bindings
The ACLI shell supports these key bindings when editing a line:
| Key Binding | Description |
|--------------------|-------------------------------------------------|
| Ctrl + a | Go to the beginning of the line (Home) |
| Ctrl + e | Go to the end of the line (End) |
| Ctrl + p | Previous command (Up arrow) |
| Ctrl + n | Next command (Down arrow) |
| Ctrl + f | Forward one character |
| Ctrl + b | Backward one character |
| Ctrl + h | Delete character before the cursor (Backspace) |
| Ctrl + w | Cut the word before the cursor |
| Ctrl + k | Cut the line after the cursor |
| Ctrl + u | Cut the line before the cursor |
| Ctrl + l | Clear the screen |
{{/* | Ctrl + [ | Copy previous line (if any) to clipboard | */ -}}
| Ctrl + ] | Copy current line (if not empty) to clipboard |
{{/* | Ctrl + Shift + [ | Copy previous result (if any) to clipboard | */ -}}
{{ if ne .os "windows" -}}
| Ctrl + c | Cancel current line |
{{ else -}}
| Ctrl + c | Exit shell (Ctrl + d, /exit) |
{{ end -}}
| Ctrl + d | Exit shell (/exit) |
| Meta + d | Cut from cursor to end of word |
{{ if ne .os "windows" -}}
| Meta + f | Forward one word (Meta + right-arrow) |
{{ else -}}
| Meta + f | Forward one word |
{{ end -}}
{{ if ne .os "windows" -}}
| Meta + b | Backward one word (Meta + left-arrow) |
{{- else -}}
| Meta + b | Backward one word |
{{ end -}}
When a suggestion prompt appears, the following also apply:
| Key Binding | Description |
|--------------------|-------------------------------------------------|
| Tab | Select next suggestion (Down arrow) |
| Shift + Tab | Select previous suggestion (Up arrow) |
| Space | Choose currently selected suggestion |