cursor-keybindings

v2026.09.24

Master Cursor keyboard shortcuts and customize keybindings for AI features and editor commands. Triggers on "cursor shortcuts", "cursor keybindings", "cursor keyboard", "cursor hotkeys", "cursor commands", "Cmd+K", "Cmd+L", "Cmd+I".

GitHub
安装命令
npx skhub add jeremylongshore/cursor-keybindings
Markdown
SKILL.md

Cursor Keybindings

Overview

Configure keybindings for discoverability and accessibility without masking safety-critical editor commands or creating team-specific ambiguity.

Prerequisites

  • Existing team/editor shortcut conventions and a recoverable keybindings backup.
  • A non-sensitive test workspace for validating conflicts.

Instructions

  1. Search existing bindings before assigning a shortcut and prefer documented Cursor defaults when practical.
  2. Use workspace/team conventions for shared documentation; keep personal ergonomics local.
  3. Test conflict behavior in a sample workspace and retain an easy reset/revert path.
  4. Document custom bindings needed for pair programming, training, or support.

Output

  • A tested keybinding change with conflict result and recovery instructions.

Error Handling

ConditionSafe response
Shortcut conflicts with edit/debug actionRemove it or choose a non-conflicting binding.
Configuration prevents recoveryRestore the backed-up keybindings file or reset only the affected entry.
Team documentation divergesTreat documented shared binding as authoritative and update it through review.

Examples

Assign a personal shortcut to a Cursor command only after checking the Keyboard Shortcuts UI for conflicts, test it in a sample project, and retain the previous keybindings entry. Do not overwrite a documented team shortcut without agreement.

Complete keyboard shortcut reference for Cursor IDE. Covers AI-specific shortcuts, standard editor commands, and customization. All shortcuts shown as macOS / Windows-Linux.

AI Feature Shortcuts

Primary AI Shortcuts

ActionmacOSWindows/LinuxNotes
Chat panelCmd+LCtrl+LOpen/focus AI chat sidebar
Inline EditCmd+KCtrl+KEdit selected code with AI
ComposerCmd+ICtrl+IMulti-file AI editing
Full ComposerCmd+Shift+ICtrl+Shift+IExpanded composer view

Context & Suggestions

ActionmacOSWindows/LinuxNotes
Add to Chat contextCmd+Shift+LCtrl+Shift+LAdd selected code to existing chat
Accept Tab suggestionTabTabAccept full ghost text
Accept word-by-wordCmd+→Ctrl+→Partial Tab acceptance
Dismiss suggestionEscEscReject ghost text
Force trigger completionCtrl+SpaceCtrl+SpaceManually trigger Tab
Accept inline editCmd+YCtrl+YAccept Cmd+K changes
Reject inline editEscEscDismiss Cmd+K changes

Chat Management

ActionmacOSWindows/LinuxNotes
New chatCmd+N (in chat)Ctrl+NStart fresh conversation
Toggle chat panelCmd+LCtrl+LShow/hide chat sidebar

Essential Editor Shortcuts

Navigation

ActionmacOSWindows/Linux
Command PaletteCmd+Shift+PCtrl+Shift+P
Quick Open fileCmd+PCtrl+P
Go to SymbolCmd+Shift+OCtrl+Shift+O
Go to LineCmd+GCtrl+G
Go to DefinitionF12F12
Peek DefinitionOption+F12Alt+F12
Go BackCmd+-Ctrl+-
Go ForwardCmd+Shift+-Ctrl+Shift+-

Editing

ActionmacOSWindows/Linux
Multi-cursor (add)Option+ClickAlt+Click
Select all occurrencesCmd+Shift+LCtrl+Shift+L
Move line up/downOption+↑/↓Alt+↑/↓
Duplicate lineShift+Option+↑/↓Shift+Alt+↑/↓
Delete lineCmd+Shift+KCtrl+Shift+K
Toggle commentCmd+/Ctrl+/
Format documentShift+Option+FShift+Alt+F
Rename symbolF2F2
Quick FixCmd+.Ctrl+.

Panels & Views

ActionmacOSWindows/Linux
Toggle terminalCmd+`Ctrl+`
Toggle sidebarCmd+BCtrl+B
Source ControlCmd+Shift+GCtrl+Shift+G
ExtensionsCmd+Shift+XCtrl+Shift+X
ExplorerCmd+Shift+ECtrl+Shift+E
Search across filesCmd+Shift+FCtrl+Shift+F
Keyboard shortcuts editorCmd+K Cmd+SCtrl+K Ctrl+S

Customizing Keybindings

Via UI

  1. Cmd+K Cmd+S to open Keyboard Shortcuts editor
  2. Search for the command (e.g., "accept cursor tab")
  3. Click the pencil icon next to the keybinding
  4. Press your desired key combination
  5. If conflict detected, choose to override or cancel

Via JSON

Open keybindings.json: Cmd+Shift+P > Open Keyboard Shortcuts (JSON)

[
  {
    "key": "cmd+enter",
    "command": "editor.action.inlineSuggest.commit",
    "when": "inlineSuggestionVisible"
  },
  {
    "key": "ctrl+shift+k",
    "command": "aichat.newchat",
    "when": "editorFocus"
  },
  {
    "key": "cmd+k cmd+a",
    "command": "editor.action.selectAll",
    "when": "editorTextFocus && !editorReadonly"
  }
]

Vim Mode Compatibility

If using the Vim extension with Cursor:

// keybindings.json -- resolve Vim conflicts
[
  {
    "key": "ctrl+l",
    "command": "aichat.focus",
    "when": "!vim.active || vim.mode == 'Normal'"
  },
  {
    "key": "ctrl+k",
    "command": "cursor.edit",
    "when": "editorTextFocus && !vim.active"
  }
]

Common Vim conflicts:

  • Ctrl+K conflicts with Vim's digraph mode
  • Ctrl+L conflicts with Vim's clear/redraw
  • Ctrl+I conflicts with Vim's jump forward

Solution: Remap Cursor AI shortcuts to avoid Vim's control sequences, or use when clauses to scope by Vim mode.

Cheat Sheet (Print-Friendly)

╔══════════════════════════════════════════════╗
║  CURSOR AI SHORTCUTS (macOS)                 ║
╠══════════════════════════════════════════════╣
║  Cmd+L       Chat panel                     ║
║  Cmd+K       Inline edit (select first)     ║
║  Cmd+I       Composer (multi-file)          ║
║  Cmd+Shift+L Add selection to chat          ║
║  Tab         Accept Tab suggestion          ║
║  Cmd+→       Accept suggestion word-by-word ║
║  Esc         Dismiss suggestion             ║
║  Cmd+Y       Accept inline edit             ║
║  Cmd+Shift+P Command Palette               ║
║  Cmd+P       Quick Open file                ║
╚══════════════════════════════════════════════╝

Enterprise Considerations

  • Keybinding policies: Teams can share a keybindings.json in the project repo (.vscode/keybindings.json)
  • Accessibility: Cursor supports screen readers and keyboard-only navigation via standard VS Code accessibility features
  • Corporate keyboards: International keyboard layouts may require different mappings for Cmd+K/L/I

Resources

发现
标签

此技能尚未发布标签。

版本
最新版本元数据

版本

v2026.09.24

发布时间

Sep 24, 2026

分类

未分类

许可证

MIT

源路径

skills/.curated/cursor-keybindings

默认分支

main

最新提交

e5a6c3b

Tree SHA

c2dc8e8