Cheat sheet guide
Cursor shortcuts worth learning first
This page collects 31 searchable Cursor keyboard shortcuts across 4 categories. Start with the shortcuts for AI Features, General, Editing, Navigation, then print the cheat sheet once the important ones are worth keeping nearby.
- Switch OS tabs for Windows, macOS, or Linux shortcuts.
- Use / to jump to search instantly.
- Use Compare mode when moving between machines.
- Print or save the page as a compact PDF cheat sheet.
AI Features
8 shortcuts
AI Edit (inline)
Ctrl+K
WinCtrl+K
Mac⌘K
LinuxCtrl+K
AI Chat
Ctrl+L
WinCtrl+L
Mac⌘L
LinuxCtrl+L
Composer (multi-file AI)
Ctrl+I
WinCtrl+I
Mac⌘I
LinuxCtrl+I
Accept AI suggestion
Tab
WinTab
MacTab
LinuxTab
Reject AI suggestion
Escape
WinEscape
MacEscape
LinuxEscape
Accept next word of suggestion
Ctrl+Right
WinCtrl+Right
Mac⌘Right
LinuxCtrl+Right
Add file to chat context
Ctrl+Shift+L
WinCtrl+Shift+L
Mac⌘⇧L
LinuxCtrl+Shift+L
New chat
Ctrl+Shift+I
WinCtrl+Shift+I
Mac⌘⇧I
LinuxCtrl+Shift+I
General
5 shortcuts
Command Palette
Ctrl+Shift+P
WinCtrl+Shift+P
Mac⌘⇧P
LinuxCtrl+Shift+P
Quick Open / Go to File
Ctrl+P
WinCtrl+P
Mac⌘P
LinuxCtrl+P
New window
Ctrl+Shift+N
WinCtrl+Shift+N
Mac⌘⇧N
LinuxCtrl+Shift+N
User Settings
Ctrl+,
WinCtrl+,
Mac⌘,
LinuxCtrl+,
Keyboard Shortcuts
Ctrl+KCtrl+S
WinCtrl+KCtrl+S
Mac⌘K⌘S
LinuxCtrl+KCtrl+S
Editing
11 shortcuts
Undo
Ctrl+Z
WinCtrl+Z
Mac⌘Z
LinuxCtrl+Z
Redo
Ctrl+Y
WinCtrl+Y
Mac⌘⇧Z
LinuxCtrl+Y
Format document
Alt+Shift+F
WinAlt+Shift+F
Mac⌥⇧F
LinuxCtrl+Shift+I
Toggle line comment
Ctrl+/
WinCtrl+/
Mac⌘/
LinuxCtrl+/
Move line up/down
Alt+↑/↓
WinAlt+↑/↓
Mac⌥↑/↓
LinuxAlt+↑/↓
Delete line
Ctrl+Shift+K
WinCtrl+Shift+K
Mac⌘⇧K
LinuxCtrl+Shift+K
Duplicate line
Alt+Shift+↓
WinAlt+Shift+↓
Mac⌥⇧↓
LinuxAlt+Shift+↓
Find
Ctrl+F
WinCtrl+F
Mac⌘F
LinuxCtrl+F
Replace
Ctrl+H
WinCtrl+H
Mac⌥⌘F
LinuxCtrl+H
Add cursor above/below
Alt+Ctrl+↑/↓
WinAlt+Ctrl+↑/↓
Mac⌥⌘↑/↓
LinuxAlt+Ctrl+↑/↓
Select all occurrences
Ctrl+Shift+L
WinCtrl+Shift+L
Mac⌘⇧L
LinuxCtrl+Shift+L
Navigation
7 shortcuts
Go to definition
F12
WinF12
MacF12
LinuxF12
Go to line
Ctrl+G
WinCtrl+G
Mac⌃G
LinuxCtrl+G
Go back
Alt+Left
WinAlt+Left
Mac⌃-
LinuxAlt+Left
Go forward
Alt+Right
WinAlt+Right
Mac⌃⇧-
LinuxAlt+Right
Explorer
Ctrl+Shift+E
WinCtrl+Shift+E
Mac⌘⇧E
LinuxCtrl+Shift+E
Source control
Ctrl+Shift+G
WinCtrl+Shift+G
Mac⌃⇧G
LinuxCtrl+Shift+G
Toggle terminal
Ctrl+`
WinCtrl+`
Mac⌃`
LinuxCtrl+`
Frequently asked questions
What is the fastest way to find Cursor shortcuts on this page?
Use the search box or press /, then type an action such as ai edit (inline).
Can I print this Cursor shortcut cheat sheet?
Yes. Use the Print / PDF button or your browser print command to save a compact cheat sheet.
Does this page include Windows and Mac shortcuts for Cursor?
Yes. Use the OS tabs to switch between Windows and macOS shortcuts. For example, AI Edit (inline) is Ctrl+K on Windows and ⌘K on macOS where available.
Advertisement