Skip to main content
All keybinds are configured under the keybinds key in cyberstrike.json. Every field is optional — only set what you want to change.
cyberstrike.json
{
  "keybinds": {
    "leader": "ctrl+x",
    "session_new": "<leader>n",
    "input_submit": "return"
  }
}

Leader key

Many keybinds use <leader> as a prefix. The leader key defaults to ctrl+x.
{ "keybinds": { "leader": "ctrl+x" } }
Reference the leader key in other binds with <leader>:
{ "keybinds": { "session_new": "<leader>n" } }

Disabling a keybind

Set any keybind to "none" to disable it:
{ "keybinds": { "session_share": "none" } }

Multiple bindings

Separate multiple key combinations with a comma. Any of them will trigger the action:
{ "keybinds": { "messages_page_up": "pageup,ctrl+alt+b" } }

Application

FieldDefaultDescription
leaderctrl+xLeader key for keybind combinations
app_exitctrl+c,ctrl+d,<leader>qExit the application
editor_open<leader>eOpen an external editor
theme_list<leader>tList available themes
sidebar_toggle<leader>bToggle sidebar
scrollbar_togglenoneToggle session scrollbar
username_togglenoneToggle username visibility
status_view<leader>sView status
leader
string
default:"ctrl+x"
Leader key used as a prefix in other keybinds. Reference it with <leader>.
app_exit
string
default:"ctrl+c,ctrl+d,<leader>q"
Exit the application. Multiple bindings separated by commas.
editor_open
string
default:"<leader>e"
Open the current session content in an external editor ($EDITOR).
theme_list
string
default:"<leader>t"
Open the theme picker.
sidebar_toggle
string
default:"<leader>b"
Toggle the sidebar on or off.
scrollbar_toggle
string
default:"none"
Toggle the scrollbar overlay on the session view.
username_toggle
string
default:"none"
Toggle display of the username in the session header.
status_view
string
default:"<leader>s"
Open the status overlay.

Session management

FieldDefaultDescription
session_new<leader>nCreate a new session
session_list<leader>lList all sessions
session_timeline<leader>gShow session timeline
session_forknoneFork session from the current message
session_renamectrl+rRename the current session
session_deletectrl+dDelete the current session
session_export<leader>xExport session to editor
session_sharenoneShare the current session
session_unsharenoneUnshare the current session
session_interruptescapeInterrupt the running session
session_compact<leader>cCompact the session context
session_child_cycle<leader>rightSwitch to next child session
session_child_cycle_reverse<leader>leftSwitch to previous child session
session_parent<leader>upNavigate to the parent session
session_new
string
default:"<leader>n"
Open a new, empty session.
session_list
string
default:"<leader>l"
Open the session list to switch between sessions.
session_timeline
string
default:"<leader>g"
Show the timeline view for the current session.
session_fork
string
default:"none"
Fork the session at the currently focused message.
session_rename
string
default:"ctrl+r"
Rename the current session.
session_delete
string
default:"ctrl+d"
Delete the current session from history.
session_export
string
default:"<leader>x"
Export the full session transcript to your external editor.
session_share
string
default:"none"
Share the current session (requires share to be "manual" or "auto").
session_unshare
string
default:"none"
Revoke sharing for the current session.
session_interrupt
string
default:"escape"
Stop the currently running agent loop.
session_compact
string
default:"<leader>c"
Manually trigger context compaction for the current session.
session_child_cycle
string
default:"<leader>right"
Navigate to the next child session (when branching via fork).
session_child_cycle_reverse
string
default:"<leader>left"
Navigate to the previous child session.
session_parent
string
default:"<leader>up"
Navigate up to the parent session.

Model and agent

FieldDefaultDescription
model_list<leader>mOpen the model picker
model_cycle_recentf2Switch to the next recently used model
model_cycle_recent_reverseshift+f2Switch to the previous recently used model
model_cycle_favoritenoneSwitch to the next favorite model
model_cycle_favorite_reversenoneSwitch to the previous favorite model
model_favorite_togglectrl+fToggle favorite status for the current model
model_provider_listctrl+aOpen the provider list from within the model dialog
agent_list<leader>aOpen the agent picker
agent_cycletabSwitch to the next agent
agent_cycle_reverseshift+tabSwitch to the previous agent
variant_cyclectrl+tCycle through model variants
command_listctrl+pOpen the command palette
model_list
string
default:"<leader>m"
Open the interactive model picker.
model_cycle_recent
string
default:"f2"
Cycle forward through your recently used models.
model_cycle_recent_reverse
string
default:"shift+f2"
Cycle backward through your recently used models.
model_cycle_favorite
string
default:"none"
Cycle forward through your favorited models.
model_cycle_favorite_reverse
string
default:"none"
Cycle backward through your favorited models.
model_favorite_toggle
string
default:"ctrl+f"
Add or remove the current model from your favorites list.
model_provider_list
string
default:"ctrl+a"
Open the provider list while in the model picker dialog.
agent_list
string
default:"<leader>a"
Open the agent picker.
agent_cycle
string
default:"tab"
Switch to the next available agent.
agent_cycle_reverse
string
default:"shift+tab"
Switch to the previous available agent.
variant_cycle
string
default:"ctrl+t"
Cycle through available variants for the current model.
command_list
string
default:"ctrl+p"
Open the command palette.

Message navigation

FieldDefaultDescription
messages_page_uppageup,ctrl+alt+bScroll messages up by one page
messages_page_downpagedown,ctrl+alt+fScroll messages down by one page
messages_half_page_upctrl+alt+uScroll messages up by half a page
messages_half_page_downctrl+alt+dScroll messages down by half a page
messages_line_upctrl+alt+yScroll messages up by one line
messages_line_downctrl+alt+eScroll messages down by one line
messages_firstctrl+g,homeJump to the first message
messages_lastctrl+alt+g,endJump to the last message
messages_nextnoneMove to the next message
messages_previousnoneMove to the previous message
messages_last_usernoneJump to the last user message
messages_copy<leader>yCopy the focused message
messages_undo<leader>uUndo the last message
messages_redo<leader>rRedo a previously undone message
messages_toggle_conceal<leader>hToggle code block concealment
tool_detailsnoneToggle tool call details visibility
display_thinkingnoneToggle visibility of thinking blocks

Input editing

FieldDefaultDescription
input_submitreturnSubmit the input
input_newlineshift+return,ctrl+return,alt+return,ctrl+jInsert a newline without submitting
input_clearctrl+cClear the input field
input_pastectrl+vPaste from clipboard
input_undoctrl+-,super+zUndo in the input field
input_redoctrl+.,super+shift+zRedo in the input field
Cursor movement:
FieldDefaultDescription
input_move_leftleft,ctrl+bMove cursor left
input_move_rightright,ctrl+fMove cursor right
input_move_upupMove cursor up
input_move_downdownMove cursor down
input_line_homectrl+aMove to start of line
input_line_endctrl+eMove to end of line
input_visual_line_homealt+aMove to start of visual line
input_visual_line_endalt+eMove to end of visual line
input_buffer_homehomeMove to start of buffer
input_buffer_endendMove to end of buffer
input_word_forwardalt+f,alt+right,ctrl+rightMove one word forward
input_word_backwardalt+b,alt+left,ctrl+leftMove one word backward
Selection:
FieldDefaultDescription
input_select_leftshift+leftExtend selection left
input_select_rightshift+rightExtend selection right
input_select_upshift+upExtend selection up
input_select_downshift+downExtend selection down
input_select_line_homectrl+shift+aSelect to start of line
input_select_line_endctrl+shift+eSelect to end of line
input_select_visual_line_homealt+shift+aSelect to start of visual line
input_select_visual_line_endalt+shift+eSelect to end of visual line
input_select_buffer_homeshift+homeSelect to start of buffer
input_select_buffer_endshift+endSelect to end of buffer
input_select_word_forwardalt+shift+f,alt+shift+rightSelect one word forward
input_select_word_backwardalt+shift+b,alt+shift+leftSelect one word backward
Deletion:
FieldDefaultDescription
input_backspacebackspace,shift+backspaceDelete character before cursor
input_deletectrl+d,delete,shift+deleteDelete character after cursor
input_delete_linectrl+shift+dDelete the entire line
input_delete_to_line_endctrl+kDelete from cursor to end of line
input_delete_to_line_startctrl+uDelete from cursor to start of line
input_delete_word_forwardalt+d,alt+delete,ctrl+deleteDelete one word forward
input_delete_word_backwardctrl+w,ctrl+backspace,alt+backspaceDelete one word backward

History and terminal

FieldDefaultDescription
history_previousupPrevious item in input history
history_nextdownNext item in input history
terminal_suspendctrl+zSuspend CyberStrike to background
terminal_title_togglenoneToggle terminal title display
stash_deletectrl+dDelete a stash entry
tips_toggle<leader>hToggle tips on the home screen

Full keybinds example

cyberstrike.json
{
  "$schema": "https://cyberstrike.io/config.json",
  "keybinds": {
    "leader": "ctrl+x",
    "app_exit": "ctrl+c,ctrl+d,<leader>q",
    "editor_open": "<leader>e",
    "theme_list": "<leader>t",
    "sidebar_toggle": "<leader>b",
    "session_new": "<leader>n",
    "session_list": "<leader>l",
    "session_fork": "none",
    "session_rename": "ctrl+r",
    "session_compact": "<leader>c",
    "session_export": "<leader>x",
    "session_interrupt": "escape",
    "model_list": "<leader>m",
    "model_cycle_recent": "f2",
    "model_cycle_recent_reverse": "shift+f2",
    "agent_list": "<leader>a",
    "agent_cycle": "tab",
    "agent_cycle_reverse": "shift+tab",
    "command_list": "ctrl+p",
    "messages_page_up": "pageup,ctrl+alt+b",
    "messages_page_down": "pagedown,ctrl+alt+f",
    "messages_copy": "<leader>y",
    "messages_undo": "<leader>u",
    "input_submit": "return",
    "input_newline": "shift+return,ctrl+return",
    "input_clear": "ctrl+c",
    "input_paste": "ctrl+v"
  }
}

Build docs developers (and LLMs) love