Misar IO Docs

Keyboard Shortcuts

Default keyboard shortcuts for Misar Code on macOS and Windows/Linux.

Default Shortcuts

| macOS | Windows / Linux | Action | When Active | |-------|----------------|--------|-------------| | Cmd+K Cmd+I | Ctrl+K Ctrl+I | Quick Chat | Always | | Escape | Escape | Stop agent | While agent is running | | Cmd+Escape | Ctrl+Escape | Toggle Focus | Always | | Cmd+N | Ctrl+N | New Conversation | Misar Code panel focused | | Cmd+L | Ctrl+L | Toggle Focus | Not in editor | | Ctrl+Enter | Ctrl+Enter | Accept Inline Edit | Inline edit active | | Escape | Escape | Reject Inline Edit | Inline edit active |

When the Misar Code panel is focused, some shortcuts (like Cmd+N) are scoped to the panel and will not interfere with standard VS Code behaviour in the editor.

Customising Shortcuts

All shortcuts can be changed or removed in VS Code's Keyboard Shortcuts editor:

  1. Open File → Preferences → Keyboard Shortcuts (Cmd+K Cmd+S / Ctrl+K Ctrl+S)
  2. Search for misar or misarCode to find all Misar Code bindings
  3. Click the pencil icon next to any binding to reassign it

Alternatively, edit keybindings.json directly:

[
  {
    "key": "ctrl+shift+m",
    "command": "misarCode.open"
  },
  {
    "key": "ctrl+shift+.",
    "command": "misarCode.stop",
    "when": "misarAgentRunning"
  }
]

Context Keys

Use these when clause conditions to scope custom bindings:

| Context Key | True When | |-------------|-----------| | misarAgentRunning | The agent is currently executing a turn | | misarPanelFocused | The Misar Code sidebar panel has focus | | misarInlineEditActive | An inline edit suggestion is showing in the editor | | misarDiffOpen | A file diff preview is currently open |

To send messages with Ctrl+Enter instead of Enter, enable "misar.useCtrlEnterToSend": true in settings. This is useful if you frequently write multi-line messages.