Skip to main content

Cyberstrike is now open source! AI-powered penetration testing for security professionals. Star on GitHub

Keyboard Shortcuts

Cyberstrike features vim-inspired keyboard shortcuts for efficient navigation. This reference covers all available keybindings.

Leader Key

The leader key is Ctrl+X by default. Many shortcuts use <leader> followed by another key.

To change the leader key:

~/.cyberstrike/config.json
{
"keybinds": {
"leader": "ctrl+a"
}
}

Session Shortcuts

ShortcutAction
<leader>nNew session
<leader>lList sessions
<leader>cCompact/summarize session
<leader>gSession timeline
Ctrl+RRename session
ShortcutAction
/ kPrevious message/item
/ jNext message/item
Ctrl+UScroll up half page
Ctrl+DScroll down half page
gGo to top
GGo to bottom
uUndo (revert to previous message)
Ctrl+RRedo

Input Mode

ShortcutAction
EnterSubmit message
Shift+EnterNew line
Ctrl+CCancel current operation
EscapeExit input mode
TabAutocomplete

Model & Agent

ShortcutAction
<leader>mModel selection
<leader>aAgent selection
TabNext agent
Shift+TabPrevious agent

Interface

ShortcutAction
<leader>tTheme selection
<leader>sStatus view
<leader>bToggle sidebar
<leader>eOpen in external editor
<leader>xExport session

Dialog Navigation

When in a dialog (model selection, sessions list, etc.):

ShortcutAction
/ k / Ctrl+PMove up
/ j / Ctrl+NMove down
Enter / TabSelect
Escape / qClose dialog
/Filter/search
Ctrl+FToggle favorite
Ctrl+DDelete (in sessions)

Command Palette

ShortcutAction
<leader><leader>Open command palette
Ctrl+Shift+POpen command palette

Vim Mode

Cyberstrike supports vim-style editing in the input field:

Normal Mode

KeyAction
iInsert mode
aAppend
AAppend at end of line
oNew line below
ONew line above
ddDelete line
yyYank line
pPaste
uUndo
Ctrl+RRedo

Movement

KeyAction
hLeft
lRight
wNext word
bPrevious word
0Start of line
$End of line
ggStart of input
GEnd of input

Visual Mode

KeyAction
vCharacter visual mode
VLine visual mode
yYank selection
dDelete selection
cChange selection

Permission Prompts

When a permission prompt appears:

KeyAction
yApprove once
aApprove always
nReject
EscapeReject

Customizing Keybindings

Override default keybindings in your config:

~/.cyberstrike/config.json
{
"keybinds": {
"leader": "ctrl+x",
"app_exit": "ctrl+c,ctrl+d,<leader>q",
"session_new": "<leader>n",
"session_list": "<leader>l",
"model_list": "<leader>m",
"agent_list": "<leader>a",
"theme_list": "<leader>t",
"status_view": "<leader>s",
"sidebar_toggle": "<leader>b",
"editor_open": "<leader>e",
"session_export": "<leader>x",
"session_timeline": "<leader>g",
"session_rename": "ctrl+r"
}
}

Keybinding Format

Keybindings support:

  • Modifiers: ctrl, alt, shift, meta
  • Special keys: enter, escape, tab, space, backspace
  • Leader: <leader> (replaced with configured leader key)
  • Chords: ctrl+x,ctrl+c (press in sequence)

Examples

ctrl+s # Ctrl + S
alt+shift+p # Alt + Shift + P
<leader>n # Leader key + N
ctrl+x,ctrl+c # Ctrl+X then Ctrl+C

Quick Reference Card

┌─────────────────────────────────────────┐
│ Cyberstrike Keyboard Shortcuts │
├─────────────────────────────────────────┤
│ Session │
│ <leader>n New session │
│ <leader>l List sessions │
│ <leader>c Compact session │
├─────────────────────────────────────────┤
│ Navigation │
│ j/k Up/Down │
│ Ctrl+U/D Half page scroll │
│ u Undo │
├─────────────────────────────────────────┤
│ Model/Agent │
│ <leader>m Models │
│ <leader>a Agents │
│ Tab Next agent │
├─────────────────────────────────────────┤
│ Interface │
│ <leader>s Status │
│ <leader>t Themes │
│ <leader>b Sidebar │
└─────────────────────────────────────────┘