cursor-keybindings

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".

1,868 stars

Best use case

cursor-keybindings is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

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".

Teams using cursor-keybindings should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/cursor-keybindings/SKILL.md --create-dirs "https://raw.githubusercontent.com/jeremylongshore/claude-code-plugins-plus-skills/main/plugins/saas-packs/cursor-pack/skills/cursor-keybindings/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/cursor-keybindings/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How cursor-keybindings Compares

Feature / Agentcursor-keybindingsStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

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".

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

Related Guides

SKILL.md Source

# 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

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)`

```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:

```json
// 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

- [Cursor Keyboard Shortcuts](https://docs.cursor.com/kbd)
- [VS Code Keybindings](https://code.visualstudio.com/docs/getstarted/keybindings)
- [Vim Extension](https://marketplace.visualstudio.com/items?itemName=vscodevim.vim)

Related Skills

cursor-usage-analytics

1868
from jeremylongshore/claude-code-plugins-plus-skills

Track and analyze Cursor usage metrics via admin dashboard: requests, model usage, team productivity, and cost optimization. Triggers on "cursor analytics", "cursor usage", "cursor metrics", "cursor reporting", "cursor dashboard", "cursor ROI".

cursor-upgrade-migration

1868
from jeremylongshore/claude-code-plugins-plus-skills

Upgrade Cursor versions, migrate from VS Code, and transfer settings between machines. Triggers on "upgrade cursor", "update cursor", "cursor migration", "cursor new version", "vs code to cursor", "cursor changelog".

cursor-team-setup

1868
from jeremylongshore/claude-code-plugins-plus-skills

Set up Cursor for teams: plan selection, member management, shared rules, admin dashboard, and onboarding. Triggers on "cursor team", "cursor organization", "cursor business", "cursor enterprise setup", "cursor admin".

cursor-tab-completion

1868
from jeremylongshore/claude-code-plugins-plus-skills

Master Cursor Tab autocomplete, ghost text, and AI code suggestions. Triggers on "cursor completion", "cursor tab", "cursor suggestions", "cursor autocomplete", "cursor ghost text", "cursor copilot".

cursor-sso-integration

1868
from jeremylongshore/claude-code-plugins-plus-skills

Configure SAML 2.0 and OIDC SSO for Cursor with Okta, Microsoft Entra ID, and Google Workspace. Triggers on "cursor sso", "cursor saml", "cursor oauth", "enterprise cursor auth", "cursor okta", "cursor entra", "cursor scim".

cursor-rules-config

1868
from jeremylongshore/claude-code-plugins-plus-skills

Configure Cursor project rules using .cursor/rules/*.mdc files and legacy .cursorrules. Triggers on "cursorrules", ".cursorrules", "cursor rules", "cursor config", "cursor project settings", ".mdc rules", "project rules".

cursor-reference-architecture

1868
from jeremylongshore/claude-code-plugins-plus-skills

Reference architecture for Cursor IDE projects: directory structure, rules organization, indexing strategy, and team configuration patterns. Triggers on "cursor architecture", "cursor project structure", "cursor best practices", "cursor file structure".

cursor-prod-checklist

1868
from jeremylongshore/claude-code-plugins-plus-skills

Production readiness checklist for Cursor IDE setup: security, rules, indexing, privacy, and team standards. Triggers on "cursor production", "cursor ready", "cursor checklist", "optimize cursor setup", "cursor onboarding".

cursor-privacy-settings

1868
from jeremylongshore/claude-code-plugins-plus-skills

Configure Cursor privacy mode, data handling, telemetry, and sensitive file exclusion. Triggers on "cursor privacy", "cursor data", "cursor security", "privacy mode", "cursor telemetry", "cursor data retention".

cursor-performance-tuning

1868
from jeremylongshore/claude-code-plugins-plus-skills

Optimize Cursor IDE performance: reduce memory usage, speed up indexing, tune AI features, and manage extensions for large codebases. Triggers on "cursor performance", "cursor slow", "cursor optimization", "cursor memory", "speed up cursor", "cursor lag".

cursor-multi-repo

1868
from jeremylongshore/claude-code-plugins-plus-skills

Work with multiple repositories in Cursor: multi-root workspaces, monorepo patterns, selective indexing, and cross-project context. Triggers on "cursor multi repo", "cursor multiple projects", "cursor monorepo", "cursor workspace", "multi-root workspace".

cursor-model-selection

1868
from jeremylongshore/claude-code-plugins-plus-skills

Configure and select AI models in Cursor for Chat, Composer, and Agent mode. Triggers on "cursor model", "cursor gpt", "cursor claude", "change cursor model", "cursor ai model", "cursor auto mode".