cursor-keybindings
A complete reference and management tool for Cursor IDE keyboard shortcuts, including AI chat, inline edits, and composer commands.
Install
mkdir -p .claude/skills/cursor-keybindings && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/6342" && unzip -o skill.zip -d .claude/skills/cursor-keybindings && rm skill.zipInstalls to .claude/skills/cursor-keybindings
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Master Cursor keyboard shortcuts and customize keybindings for AI featuresKey capabilities
- →Open or focus the AI chat sidebar using a keyboard shortcut.
- →Edit selected code with AI using an inline edit shortcut.
- →Initiate multi-file AI editing with the Composer shortcut.
- →Add selected code to an existing chat context.
- →Accept or dismiss AI ghost text suggestions.
- →Access the Command Palette and Quick Open file commands.
How it works
This skill provides a reference for predefined keyboard shortcuts in Cursor IDE and explains how to customize them. Users can modify keybindings through a UI editor or by directly editing a JSON file.
Inputs & outputs
When to use cursor-keybindings
- →Learn keyboard shortcuts for the Cursor chat sidebar
- →Map custom keys for inline AI code editing
- →Find shortcuts for multi-file Composer actions
- →Quickly access editor command palettes via hotkeys
About this skill
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 | Cmd+L | Ctrl+L | Open/focus AI chat sidebar |
| Inline Edit | Cmd+K | Ctrl+K | Edit selected code with AI |
| Composer | Cmd+I | Ctrl+I | Multi-file AI editing |
| Full Composer | Cmd+Shift+I | Ctrl+Shift+I | Expanded composer view |
Context & Suggestions
| Action | macOS | Windows/Linux | Notes |
|---|---|---|---|
| Add to Chat context | Cmd+Shift+L | Ctrl+Shift+L | Add selected code to existing chat |
| Accept Tab suggestion | Tab | Tab | Accept full ghost text |
| Accept word-by-word | Cmd+→ | Ctrl+→ | Partial Tab acceptance |
| Dismiss suggestion | Esc | Esc | Reject ghost text |
| Force trigger completion | Ctrl+Space | Ctrl+Space | Manually trigger Tab |
| Accept inline edit | Cmd+Y | Ctrl+Y | Accept Cmd+K changes |
| Reject inline edit | Esc | Esc | Dismiss Cmd+K changes |
Chat Management
| Action | macOS | Windows/Linux | Notes |
|---|---|---|---|
| New chat | Cmd+N (in chat) | Ctrl+N | Start fresh conversation |
| Toggle chat panel | Cmd+L | Ctrl+L | Show/hide chat sidebar |
Essential Editor Shortcuts
Navigation
| Action | macOS | Windows/Linux |
|---|---|---|
| Command Palette | Cmd+Shift+P | Ctrl+Shift+P |
| Quick Open file | Cmd+P | Ctrl+P |
| Go to Symbol | Cmd+Shift+O | Ctrl+Shift+O |
| Go to Line | Cmd+G | Ctrl+G |
| Go to Definition | F12 | F12 |
| Peek Definition | Option+F12 | Alt+F12 |
| Go Back | Cmd+- | Ctrl+- |
| Go Forward | Cmd+Shift+- | Ctrl+Shift+- |
Editing
| Action | macOS | Windows/Linux |
|---|---|---|
| Multi-cursor (add) | Option+Click | Alt+Click |
| Select all occurrences | Cmd+Shift+L | Ctrl+Shift+L |
| Move line up/down | Option+↑/↓ | Alt+↑/↓ |
| Duplicate line | Shift+Option+↑/↓ | Shift+Alt+↑/↓ |
| Delete line | Cmd+Shift+K | Ctrl+Shift+K |
| Toggle comment | Cmd+/ | Ctrl+/ |
| Format document | Shift+Option+F | Shift+Alt+F |
| Rename symbol | F2 | F2 |
| Quick Fix | Cmd+. | Ctrl+. |
Panels & Views
| Action | macOS | Windows/Linux |
|---|---|---|
| Toggle terminal | Cmd+` | Ctrl+` |
| Toggle sidebar | Cmd+B | Ctrl+B |
| Source Control | Cmd+Shift+G | Ctrl+Shift+G |
| Extensions | Cmd+Shift+X | Ctrl+Shift+X |
| Explorer | Cmd+Shift+E | Ctrl+Shift+E |
| Search across files | Cmd+Shift+F | Ctrl+Shift+F |
| Keyboard shortcuts editor | Cmd+K Cmd+S | Ctrl+K Ctrl+S |
Customizing Keybindings
Via UI
Cmd+K Cmd+Sto open Keyboard Shortcuts editor- 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:
Ctrl+Kconflicts with Vim's digraph modeCtrl+Lconflicts with Vim's clear/redrawCtrl+Iconflicts 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.jsonin 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
How it compares
This approach allows users to tailor their Cursor IDE experience with custom keyboard shortcuts, providing a more personalized and potentially faster workflow than using only default commands.
Compared to similar skills
cursor-keybindings side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| cursor-keybindings (this skill) | 1 | 27d | Review | Beginner |
| pptx | 393 | 6mo | Review | Advanced |
| nano-pdf | 63 | 2mo | Review | Beginner |
| video-downloader | 101 | 7mo | Review | Beginner |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by jeremylongshore
View all by jeremylongshore →You might also like
pptx
anthropics
Presentation creation, editing, and analysis. When Claude needs to work with presentations (.pptx files) for: (1) Creating new presentations, (2) Modifying or editing content, (3) Working with layouts, (4) Adding comments or speaker notes, or any other presentation tasks
nano-pdf
openclaw
Edit PDFs with natural-language instructions using the nano-pdf CLI.
video-downloader
ComposioHQ
Downloads videos from YouTube and other platforms for offline viewing, editing, or archival. Handles various formats and quality options.
youtube-transcript
michalparkola
Download YouTube video transcripts when user provides a YouTube URL or asks to download/get/fetch a transcript from YouTube. Also use when user wants to transcribe or get captions/subtitles from a YouTube video.
using-superpowers
obra
Use when starting any conversation - establishes mandatory workflows for finding and using skills, including using Skill tool before announcing usage, following brainstorming before coding, and creating TodoWrite todos for checklists
browser-automation
browserbase
Automate web browser interactions using natural language via CLI commands. Use when the user asks to browse websites, navigate web pages, extract data from websites, take screenshots, fill forms, click buttons, or interact with web applications. Triggers include "browse", "navigate to", "go to website", "extract data from webpage", "screenshot", "web scraping", "fill out form", "click on", "search for on the web". When taking actions be as specific as possible.