Skillshub cursor-keybindings
install
source · Clone the upstream repo
git clone https://github.com/ComeOnOliver/skillshub
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/ComeOnOliver/skillshub "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/jeremylongshore/claude-code-plugins-plus-skills/cursor-keybindings" ~/.claude/skills/comeonoliver-skillshub-cursor-keybindings && rm -rf "$T"
manifest:
skills/jeremylongshore/claude-code-plugins-plus-skills/cursor-keybindings/SKILL.mdsource content
Cursor Keybindings
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
| Action | macOS | Windows/Linux | Notes |
|---|---|---|---|
| Chat panel | | | Open/focus AI chat sidebar |
| Inline Edit | | | Edit selected code with AI |
| Composer | | | Multi-file AI editing |
| Full Composer | | | Expanded composer view |
Context & Suggestions
| Action | macOS | Windows/Linux | Notes |
|---|---|---|---|
| Add to Chat context | | | Add selected code to existing chat |
| Accept Tab suggestion | | | Accept full ghost text |
| Accept word-by-word | | | Partial Tab acceptance |
| Dismiss suggestion | | | Reject ghost text |
| Force trigger completion | | | Manually trigger Tab |
| Accept inline edit | | | Accept Cmd+K changes |
| Reject inline edit | | | Dismiss Cmd+K changes |
Chat Management
| Action | macOS | Windows/Linux | Notes |
|---|---|---|---|
| New chat | (in chat) | | Start fresh conversation |
| Toggle chat panel | | | Show/hide chat sidebar |
Essential Editor Shortcuts
Navigation
| Action | macOS | Windows/Linux |
|---|---|---|
| Command Palette | | |
| Quick Open file | | |
| Go to Symbol | | |
| Go to Line | | |
| Go to Definition | | |
| Peek Definition | | |
| Go Back | | |
| Go Forward | | |
Editing
| Action | macOS | Windows/Linux |
|---|---|---|
| Multi-cursor (add) | | |
| Select all occurrences | | |
| Move line up/down | | |
| Duplicate line | | |
| Delete line | | |
| Toggle comment | | |
| Format document | | |
| Rename symbol | | |
| Quick Fix | | |
Panels & Views
| Action | macOS | Windows/Linux |
|---|---|---|
| Toggle terminal | | |
| Toggle sidebar | | |
| Source Control | | |
| Extensions | | |
| Explorer | | |
| Search across files | | |
| Keyboard shortcuts editor | | |
Customizing Keybindings
Via UI
to open Keyboard Shortcuts editorCmd+K Cmd+S- Search for the command (e.g., "accept cursor tab")
- Click the pencil icon next to the keybinding
- Press your desired key combination
- 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:
conflicts with Vim's digraph modeCtrl+K
conflicts with Vim's clear/redrawCtrl+L
conflicts with Vim's jump forwardCtrl+I
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
in the project repo (keybindings.json
).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