Keymap reference
When consulting this page and other pages in PyCharm documentation, you can see keyboard shortcuts for the keymap that you use in the IDE — choose it using the selector at the top of a page.
PyCharm's top keyboard shortcuts
Double Shift | |
Ctrl+Shift+A | |
Alt+1 | |
Rebuild | Ctrl+Shift+F9 |
Alt+Enter | |
Ctrl+E | |
Find Usages | Alt+F7 |
Alt+F1 | |
Settings... | Ctrl+Alt+S |
Alt+Insert | |
Double Ctrl | |
Alt+Shift+F9 | |
Ctrl+Shift+F8 | |
Ctrl+Alt+F5 | |
Alt+` | |
Ctrl+Alt+Shift+T | |
Ctrl+Alt+L |
Build projects
Build Project | Ctrl+F9 |
Rebuild | Ctrl+Shift+F9 |
Basic editing
Cut | Ctrl+X |
Copy | Ctrl+C |
Paste | Ctrl+V |
Paste as Plain Text | Ctrl+Alt+Shift+V |
Paste from History... | Ctrl+Shift+V |
Copy Paths | Ctrl+Shift+C |
Copy Reference | Ctrl+Alt+Shift+C |
Ctrl+S | |
Ctrl+Z | |
Ctrl+Shift+Z | |
Tab | |
Shift+Tab | |
Ctrl+Alt+I | |
Start New Line | Shift+Enter |
Start New Line Before Current | Ctrl+Alt+Enter |
Delete Line | Ctrl+Y |
Join Lines | Ctrl+Shift+J |
Duplicate Line or Selection | Ctrl+D |
Toggle Case | Ctrl+Shift+U |
Ctrl+Alt+Shift+Insert | |
Open Source in New Window | Shift+F4 |
Caret navigation
Move Caret to Previous Word | Ctrl+Left |
Move Caret to Next Word | Ctrl+Right |
Move Caret to Line Start | Home |
Move Caret to Line End | End |
Move Caret to Matching Brace | Ctrl+Shift+M |
Move Caret to Code Block Start | Ctrl+[ |
Move Caret to Code Block End | Ctrl+] |
Alt+Down | |
Alt+Up | |
Move Caret to Page Top | Ctrl+Page Up |
Move Caret to Page Bottom | Ctrl+Page Down |
Page Up | Page Up |
Page Down | Page Down |
Move Caret to Text Start | Ctrl+Home |
Move Caret to Text End | Ctrl+End |
Select text
Select All | Ctrl+A |
Left with Selection | Shift+Left |
Right with Selection | Shift+Right |
Move Caret to Previous Word with Selection | Ctrl+Shift+Left |
Move Caret to Next Word with Selection | Ctrl+Shift+Right |
Move Caret to Line Start with Selection | Shift+Home |
Move Caret to Line End with Selection | Shift+End |
Up with Selection | Shift+Up |
Down with Selection | Shift+Down |
Move Caret to Code Block Start with Selection | Ctrl+Shift+[ |
Move Caret to Code Block End with Selection | Ctrl+Shift+] |
Move Caret to Page Top with Selection | Ctrl+Shift+Page Up |
Move Caret to Page Bottom with Selection | Ctrl+Shift+Page Down |
Page Up with Selection | Shift+Page Up |
Page Down with Selection | Shift+Page Down |
Move Caret to Text Start with Selection | Ctrl+Shift+Home |
Move Caret to Text End with Selection | Ctrl+Shift+End |
Extend Selection | Ctrl+W |
Shrink Selection | Ctrl+Shift+W |
Code folding
Expand | Ctrl+NumPad + |
Collapse | Ctrl+NumPad - |
Expand Recursively | Ctrl+Alt+NumPad + |
Collapse Recursively | Ctrl+Alt+NumPad - |
Expand All | Ctrl+Shift+NumPad + |
Collapse All | Ctrl+Shift+NumPad - |
Fold Selection | Ctrl+. |
Multiple carets and selection ranges
Alt+Click | |
Alt+Shift+Insert | |
Double Ctrl + Up | |
Double Ctrl + Down | |
Alt+Shift+G | |
Alt+J | |
Ctrl+Alt+Shift+J | |
Alt+Shift+J | |
Alt+Shift+Middle-Click | |
Alt+Shift+Click | |
Ctrl+Alt+Shift+Click |
Coding assistance
Alt+Enter | |
Ctrl+Space | |
Ctrl+Shift+Space | |
Ctrl+Alt+Space | |
Ctrl+Shift+Enter | |
Ctrl+Alt+L | |
Ctrl+P | |
Ctrl+Q | |
Move Statement Up | Ctrl+Shift+Up |
Move Statement Down | Ctrl+Shift+Down |
Move Element Left | Ctrl+Alt+Shift+Left |
Move Statement Right | Ctrl+Alt+Shift+Right |
Move Line Up | Alt+Shift+Up |
Move Line Down | Alt+Shift+Down |
Comment with Line Comment | Ctrl+/ |
Comment with Block Comment | Ctrl+Shift+/ |
Alt+Insert |
Context navigation
Alt+Down | |
Alt+Up | |
Ctrl+G | |
Ctrl+Tab | |
Alt+F1 | |
Ctrl+E | |
Ctrl+Shift+Backspace | |
Ctrl+Alt+Left | |
Ctrl+Alt+Right | |
Alt+Right | |
Alt+Left | |
F11 | |
Ctrl+Shift+[digit] | |
Ctrl+F11 | |
Shift+F11 | |
Ctrl+[digit] | |
Ctrl+Shift+F11 | |
F2 | |
Shift+F2 | |
Alt+2 | |
Alt+7 | |
Alt+3 | |
Next Occurrence | Ctrl+Alt+Down |
Previous Occurrence | Ctrl+Alt+Up |
Find everything
Double Shift | |
Ctrl+F | |
F3 | |
Shift+F3 | |
Ctrl+R | |
Ctrl+Shift+F | |
Ctrl+Shift+R | |
Ctrl+F3 | |
Ctrl+Shift+N | |
Ctrl+F12 | |
Ctrl+Alt+Shift+N | |
Ctrl+Shift+A |
Navigate from symbols
Find Usages | Alt+F7 |
Ctrl+B | |
Ctrl+Shift+B | |
Ctrl+Alt+F7 | |
Ctrl+U | |
Ctrl+Alt+B | |
Highlight Usages in File | Ctrl+Shift+F7 |
Code analysis
Alt+Enter | |
Ctrl+F1 | |
F2 | |
Shift+F2 | |
Ctrl+Alt+Shift+I | |
Alt+6 |
Run and debug
Double Ctrl | |
Shift+F10 | |
Alt+Shift+F10 | |
Shift+F9 | |
Alt+Shift+F9 | |
Ctrl+Alt+F5 | |
Ctrl+F2 | |
F9 | |
Stop Background Processes... | Ctrl+Shift+F2 |
F8 | |
Alt+Shift+F8 | |
F7 | |
Shift+F7 | |
Alt+Shift+F7 | |
Shift+F8 | |
Alt+F9 | |
Ctrl+Alt+F9 | |
Alt+F10 | |
Alt+F8 | |
Ctrl+Alt+F8 | |
Ctrl+F8 | |
Ctrl+Alt+Shift+F8 | |
Ctrl+Shift+F8 | |
Ctrl+Shift+F8 | |
Alt+4 | |
Alt+5 | |
Alt+8 |
Refactorings
Ctrl+Alt+Shift+T | |
Shift+F6 | |
Ctrl+F6 | |
Ctrl+Alt+N | |
F6 | |
Ctrl+Alt+M | |
Introduce Field... | Ctrl+Alt+F |
Introduce Parameter... | Ctrl+Alt+P |
Ctrl+Alt+V | |
Alt+Delete |
Global VCS actions
Alt+` | |
Ctrl+K | |
Ctrl+T | |
Ctrl+Alt+Z | |
Ctrl+Shift+K | |
Ctrl+Alt+Shift+Down | |
Ctrl+Alt+Shift+Up | |
Alt+9 | |
Alt+0 |
Differences viewer
Ctrl+D | |
Ctrl+D | |
F7 | |
Shift+F7 | |
Ctrl+Alt+R | |
Ctrl+Alt+A | |
Ctrl+Shift+Tab | |
Ctrl+Shift+D |
Tool windows
Shift+Escape | |
Ctrl+Shift+F12 | |
F12 | |
Ctrl+Alt+Shift+Left | |
Ctrl+Alt+Shift+Right | |
Ctrl+Alt+Shift+Up | |
Ctrl+Alt+Shift+Down | |
Alt+1 | |
Alt+2 | |
Alt+3 | |
Alt+4 | |
Alt+5 | |
Alt+6 | |
Alt+7 | |
Alt+8 | |
Alt+9 | |
Alt+0 | |
Alt+F12 |