Cursor Shortcuts for Ubuntu
Essential keyboard shortcuts for Cursor IDE on Ubuntu/Linux
Essential keyboard shortcuts for efficiently navigating and using Cursor IDE on Ubuntu and Linux systems.
AI Features Shortcuts
Composer (Inline AI Editing):
Ctrl+K- Open Composer for inline code generation and editingCtrl+Kthen type your request - Generate or modify code at cursor positionTab/Ctrl+→- Accept AI suggestionsEsc- Cancel or close Composer
Chat Sidebar:
Ctrl+L- Toggle Chat sidebar (left panel with AI assistant)- Mnemonic: L for "Left" panel or "Language" chat
- Opens the main AI chat interface on the left side
Ctrl+W- Close the chat window when focused- Type your question in the chat to ask about your codebase
Inline Chat:
Ctrl+I- Open inline chat at cursor position- Mnemonic: I for "Inline" editing
- Opens a chat input directly in the editor, context-aware for the code at your cursor
- Different from Chat sidebar: this appears inline in your code editor
Navigation and Editing
Command Palette:
Ctrl+Shift+P- Open Command Palette (access all Cursor commands)
File Navigation:
Ctrl+P- Quick file search/openCtrl+Shift+F- Search across filesCtrl+B- Toggle sidebar (file explorer)
Code Navigation:
Ctrl+Click- Go to definitionF12- Go to definitionShift+F12- Find all referencesCtrl+T- Go to symbol in workspace
AI Code Completion
Cursor provides intelligent autocomplete that predicts your next code changes:
- Type naturally and let Cursor suggest completions
- Navigate through suggestions with arrow keys
- Accept with
Tabor continue typing to refine
Verifying and Customizing Shortcuts
If Ctrl+I and Ctrl+L seem to do the same thing, verify which commands they're bound to:
Step 1: Check Current Bindings
- Open Command Palette:
Ctrl+Shift+P - Type "Keyboard Shortcuts" and select "Preferences: Open Keyboard Shortcuts"
- Search for
Ctrl+LandCtrl+Ito see what commands they're currently bound to - Look for these commands:
cursor.chat.toggle- Should be bound toCtrl+L(Chat sidebar)cursor.chat.inlineorcursor.chat.focus- Should be bound toCtrl+I(Inline chat)cursor.composer- Should be bound toCtrl+K(Composer)
Step 2: Fix Conflicts
If both shortcuts are bound to the same command:
- In Keyboard Shortcuts, search for the command name (e.g.,
cursor.chat.toggle) - Right-click on the conflicting binding and select "Remove Keybinding"
- Search for the correct command (e.g.,
cursor.chat.inlineforCtrl+I) - Click on the command and press the desired key combination
- If there's a conflict, Cursor will warn you and you can choose to reassign
Step 3: Remember the Difference
Memory aids:
- Ctrl+L = Left panel Chat (the main chat sidebar)
- Ctrl+I = Inline chat (appears in your editor at cursor position)
- Ctrl+K = Komposer (inline code editing)
The key difference:
Ctrl+Lopens the full chat panel on the left sideCtrl+Iopens a chat input inline in your code editor, context-aware for the code near your cursor
Tips
- Cursor is based on VS Code, so most VS Code shortcuts work here too
- If shortcuts conflict with other keybindings or language-specific settings, check the keyboard shortcuts settings in Cursor preferences
- You can import your VS Code settings and extensions for a familiar experience
- The AI features (Composer and Chat) understand your entire codebase context automatically