Download Cursor

Cursor Keybindings — Keyboard Shortcuts for AI-Powered Development

Cursor inherits every VS Code keyboard shortcut and adds AI-specific keybindings for Tab completions, Composer, agent mode, and chat. Your existing muscle memory transfers completely — Ctrl+P for Quick Open, Ctrl+Shift+P for Command Palette, Ctrl+B for sidebar toggle, and every other VS Code shortcut works identically. On top of the standard set, Cursor adds shortcuts like Ctrl+K for inline edit, Ctrl+I for Composer, and Ctrl+L for AI chat that integrate into your keyboard-driven workflow.

Every keybinding in Cursor is customizable. Remap any shortcut, create chord sequences, add when-clause conditions, and import keybinding layouts from Vim, Emacs, Sublime Text, or JetBrains. The keybinding system uses the same keybindings.json format as VS Code, so your custom bindings import with one click. AI-specific commands appear alongside standard commands in the Keyboard Shortcuts editor — no separate configuration interface, no hidden settings. Customize everything from a single, familiar panel.

Download Cursor Free Setup Guide
Cursor keyboard shortcuts editor showing AI-specific keybindings alongside standard VS Code shortcuts

Cursor Keybindings Overview — April 2026

  • All VS Code keyboard shortcuts work identically — same keybinding engine and configuration format
  • AI-specific shortcuts: Tab (accept), Ctrl+K (inline edit), Ctrl+I (Composer), Ctrl+L (chat)
  • Fully customizable — remap any shortcut, create chord sequences, add when-clause conditions
  • Import keybindings from VS Code, Vim, Emacs, Sublime Text, and JetBrains with one click
  • Custom keybindings.json file for advanced configurations including multi-key bindings
  • Keyboard Shortcuts editor (Ctrl+K Ctrl+S) shows all commands including AI-specific ones
  • Available on all plans — keybinding customization is free on every tier including Hobby

AI-Specific Keyboard Shortcuts

Cursor adds a focused set of keyboard shortcuts for AI features. These shortcuts are designed to integrate with your existing workflow without overriding common VS Code bindings.

Cursor Tab completion with keyboard shortcut overlay showing Tab to accept and Escape to dismiss

Tab Completion Shortcuts

Tab completions are the most frequently used AI feature in Cursor, and the keybindings are designed for zero-friction interaction. Press Tab to accept the full suggestion. Press Escape to dismiss it. Use Ctrl+Right (Cmd+Right on macOS) to accept word-by-word — useful when the first part of a suggestion is correct but you want to modify the end. Press Alt+] to cycle to the next suggestion and Alt+[ for the previous one when multiple completions are available.

Tab completion shortcuts work in every file type and every editing context. They do not interfere with standard Tab indentation — Cursor intelligently distinguishes between "Tab to accept a suggestion" and "Tab to indent" based on whether a suggestion is currently visible. If no suggestion is showing, Tab indents as usual. This context-sensitive behavior means you never need to think about which Tab behavior is active. According to VS Code's keybinding documentation, context-aware shortcuts reduce cognitive overhead by eliminating mode-switching decisions.

Cursor Composer opened with Ctrl+I shortcut showing the natural language input panel

Composer and Chat Shortcuts

Ctrl+I (Cmd+I on macOS) opens Composer for multi-file editing with natural language. The shortcut toggles — press once to open, again to close. When Composer is open, type your instruction and press Enter to submit. Ctrl+L (Cmd+L) opens the AI chat panel. Ctrl+Shift+L (Cmd+Shift+L) adds the current selection to the chat context — select a block of code, press the shortcut, and the code appears in the chat for discussion.

Ctrl+K (Cmd+K) activates inline edit mode — a lightweight alternative to Composer that edits code directly where your cursor is positioned. Select a block of code, press Ctrl+K, type an instruction like "add error handling" or "convert to async/await," and the edit applies inline with a diff preview. This shortcut is ideal for small, targeted changes that do not warrant opening the full Composer panel. All three shortcuts — Ctrl+I, Ctrl+L, and Ctrl+K — are remappable from the Keyboard Shortcuts editor.

Cursor agent mode activated via keyboard shortcut with task description input field

Agent Mode and Advanced Shortcuts

Ctrl+Shift+I (Cmd+Shift+I on macOS) opens Composer directly in agent mode. This shortcut saves one step compared to opening Composer and then switching to agent mode manually. Use it when you know the task requires terminal commands, package installations, or iterative error correction.

Additional keyboard shortcuts cover the full AI workflow: Ctrl+Shift+K (Cmd+Shift+K) opens the terminal with AI command input, Ctrl+. (Cmd+.) triggers AI quick actions on the current selection, and Ctrl+Enter submits a chat message with the current file as context. You can create custom chord sequences for frequently used workflows — for example, Ctrl+K Ctrl+A could trigger "add tests for the selected function" as a saved Composer prompt. The Cursor documentation lists all AI commands available for keybinding assignment.

Essential Keyboard Shortcuts Reference

The most important keyboard shortcuts for working with Cursor's AI features and editor commands. All shortcuts shown are for Windows/Linux — replace Ctrl with Cmd on macOS.

ShortcutmacOSActionCategory
TabTabAccept Tab completion suggestionAI Completion
EscapeEscapeDismiss Tab completion suggestionAI Completion
Ctrl+RightCmd+RightAccept completion word-by-wordAI Completion
Ctrl+KCmd+KInline AI edit at cursor positionAI Edit
Ctrl+ICmd+IOpen/close ComposerAI Composer
Ctrl+LCmd+LOpen/focus AI chat panelAI Chat
Ctrl+Shift+LCmd+Shift+LAdd selection to chat contextAI Chat
Ctrl+Shift+ICmd+Shift+IOpen Composer in agent modeAI Agent
Ctrl+PCmd+PQuick Open file by nameNavigation
Ctrl+Shift+PCmd+Shift+POpen Command PaletteNavigation
Ctrl+BCmd+BToggle sidebar visibilityEditor
Ctrl+`Cmd+`Toggle integrated terminalTerminal
Ctrl+Shift+XCmd+Shift+XOpen Extensions panelExtensions
Ctrl+K Ctrl+SCmd+K Cmd+SOpen Keyboard Shortcuts editorSettings
Ctrl+,Cmd+,Open SettingsSettings

Customizing Keybindings in Cursor

Cursor uses the same keybinding system as VS Code. Customize through the graphical editor or edit keybindings.json directly for advanced configurations.

Graphical Keybinding Editor

Open the Keyboard Shortcuts editor with Ctrl+K Ctrl+S (Cmd+K Cmd+S on macOS). Search for any command by name — type "composer" to find all Composer-related commands, or "agent" for agent mode actions. Click the pencil icon next to a command, press your desired key combination, and the binding saves automatically. Conflicts are highlighted immediately so you can resolve them before they cause issues.

keybindings.json for Advanced Config

For chord sequences, when-clause conditions, and complex multi-key bindings, edit keybindings.json directly. Access it from the Keyboard Shortcuts editor by clicking the file icon in the top right. JSON format supports conditions like "when": "editorTextFocus && !suggestWidgetVisible" to control exactly when a shortcut activates. This is how power users create context-sensitive shortcuts that behave differently in editor, terminal, and chat contexts.

Keymap Extensions

Import keyboard layouts from other editors using keymap extensions. Install the Vim extension for modal editing with hjkl navigation. Use the Emacs keymap for Emacs-style bindings. Import JetBrains or Sublime Text shortcuts for a familiar experience. Keymap extensions remap the base layer while preserving Cursor's AI shortcuts — you get your preferred editor feel with AI features accessible from the default AI keybindings or your own custom overrides.

Master Cursor Keybindings for Faster AI Development

Download Cursor and use the keyboard shortcuts that make AI-assisted development fast and fluid. Every VS Code keybinding transfers with one click. AI-specific shortcuts integrate without conflicting with your existing workflow. Customize any binding from the graphical editor or keybindings.json. Import keymaps from Vim, Emacs, Sublime, or JetBrains. Available on all plans including the free Hobby tier.

Download Cursor Terminal

Frequently Asked Questions About Cursor Keybindings

Default shortcuts, customization, import from other editors, and how AI keybindings work alongside standard VS Code bindings.

What are the default AI keybindings?

Tab accepts completions, Escape dismisses them, Ctrl+K (Cmd+K) opens inline edit, Ctrl+I (Cmd+I) opens Composer, Ctrl+L (Cmd+L) opens AI chat, and Ctrl+Shift+I (Cmd+Shift+I) opens agent mode. All are remappable from the Keyboard Shortcuts editor (Ctrl+K Ctrl+S).

Do VS Code keybindings work in Cursor?

Yes. Every VS Code keybinding works identically because Cursor uses the same keybinding engine. Ctrl+P, Ctrl+Shift+P, Ctrl+B, Ctrl+`, and all editor shortcuts transfer with your settings. AI shortcuts use a separate namespace with no conflicts.

How do I customize keybindings?

Open Keyboard Shortcuts with Ctrl+K Ctrl+S (Cmd+K Cmd+S). Search for a command, click the pencil icon, and press your desired key combination. For advanced configs (chord sequences, when-clauses), edit keybindings.json directly. See the Cursor documentation for all available AI commands.

Can I use Vim or Emacs keybindings?

Yes. Install keymap extensions from the marketplace — Vim, Emacs, Sublime Text, and JetBrains keymaps are all available. They remap the base editor shortcuts while preserving Cursor's AI keybindings. You get your preferred editor feel with AI features on top.