Keyboard Shortcuts
Modes
Armament uses vim-inspired modal input:
| Mode | Description | Enter |
|---|---|---|
| Normal | Navigation and commands | Escape |
| Insert | Text input to the prompt | i, a, or start typing |
In normal mode, single keys trigger navigation and actions. In insert mode, all input goes to the prompt.
Focus Zones
The terminal is divided into focus zones. Tab cycles forward, Shift+Tab cycles back:
| Zone | Description |
|---|---|
sidebar | Agent list, session info |
channel | Main output feed |
input | Command/message input |
tool | Tool output panel |
panel | Side panels (permissions, git) |
Default Keybindings
Navigation (Normal Mode)
| Key | Action |
|---|---|
j / k | Scroll output down/up |
g / G | Jump to top/bottom of output |
Tab | Next focus zone |
Shift+Tab | Previous focus zone |
1-9 | Focus agent by number |
h / l | Previous/next agent |
Channel & View
| Key | Action |
|---|---|
Ctrl+P | Open quick switcher |
Ctrl+1-4 | Switch view mode (feed/focus/split/watch) |
Ctrl+B | Toggle sidebar |
Ctrl+L | Clear output |
/ | Focus input with command prefix |
Agent Management
| Key | Action |
|---|---|
Ctrl+N | New agent |
Ctrl+W | Kill focused agent |
Ctrl+F | Focus/unfocus current agent |
Alt+1-9 | Quick-switch to agent N |
Session
| Key | Action |
|---|---|
Ctrl+S | Manual checkpoint |
Ctrl+Z | Pause session |
Ctrl+Q | Graceful shutdown |
F5 | Refresh/reconnect |
Model & Routing
| Key | Action |
|---|---|
Ctrl+M | Cycle models |
Ctrl+Shift+M | Open model picker |
Alt+R | Open routing config |
Input (Insert Mode)
| Key | Action |
|---|---|
Enter | Submit |
Shift+Enter | Newline (multi-line) |
Up / Down | History navigation |
Tab | Tab completion |
Ctrl+U | Clear line |
Ctrl+A / Ctrl+E | Start/end of line |
Ctrl+Z | Undo |
Ctrl+Y | Redo |
Escape | Exit insert mode |
Quick Switcher
Ctrl+P opens the fuzzy-search overlay. Type to filter:
- Agent names:
agent-01,planner,reviewer - Models:
claude-opus,gpt-4 - Views:
feed,focus,split - Themes:
red,ice,synthwave - Commands: any
/command
Press Enter to select, Escape to dismiss.
Customizing Bindings
Override any binding in your config or scripts:
# ~/.armament/config.yaml
keybindings:
ctrl+g: /git status
ctrl+shift+r: /session checkpoint
alt+t: /theme cycle
Or in .arma scripts:
bind ctrl+g /git status
bind ctrl+shift+r /session checkpoint
bind alt+t /theme cycle
Multi-Key Sequences
Some bindings support vim-style sequences:
bind gg /scroll top
bind gc /git conflicts
bind gs /git status
bind gd /git diff
The sequence timeout is 500ms by default. Configure with:
keybindings:
sequenceTimeout: 800
Context-Aware Bindings
Bindings can be scoped to specific modes or focus zones:
bind:normal j /scroll down
bind:normal k /scroll up
bind:insert ctrl+j /submit
bind:zone:sidebar enter /agent focus $selected