Default Keyboard Shortcuts for Editors
This is a list of default keyboard shortcuts of different editors, IDEs or browsers.
TODO: Investigate softwares list here.
Text editing
DrRacket (Linux) | DrRacket (Windows) | Eclipse | gedit | KWrite | PyCharm | Qt Creator | Sublime Text (Linux) | Visual Studio | Visual Studio Code (Linux) | Visual Studio Code (Windows) | |
---|---|---|---|---|---|---|---|---|---|---|---|
Save | Ctrl + S | Ctrl + S | Ctrl + S | Ctrl + S | Ctrl + S | Ctrl + S | Ctrl + S | Ctrl + S | Ctrl + S | Ctrl + S | |
Save All | Not supported | Not supported | Ctrl + Shift + S | Ctrl + Shift + L | Ctrl + S | Ctrl + Shift + S | Ctrl + Shift + S | ||||
Close Current Document | Ctrl + W | Ctrl + W | Ctrl + F4 or Ctrl + W | Ctrl + W | Ctrl + W | Ctrl + F4 | Ctrl + W | Ctrl + W | Ctrl + F4 | ||
Undo | Ctrl + Z | Ctrl + Z | Ctrl + Z | Ctrl + Z | Ctrl + Z | Ctrl + Z | Ctrl + Z | Ctrl + Z | Ctrl + Z | Ctrl + Z | Ctrl + Z |
Redo | Ctrl + Shift + Z | Ctrl + Y | Ctrl + Shift + Z | Ctrl + Shift + Z | Ctrl + Shift + Z | Ctrl + Shift + Z | Ctrl + Shift + Z | Ctrl + Y | Ctrl + Y | Ctrl + Y | Ctrl + Y |
Cut | Ctrl + X | Ctrl + X | Ctrl + X | Ctrl + X | Ctrl + X | Ctrl + X | Ctrl + X | Ctrl + X | Ctrl + X | Ctrl + X | Ctrl + X |
Copy | Ctrl + C | Ctrl + C | Ctrl + C | Ctrl + C | Ctrl + C | Ctrl + C | Ctrl + C | Ctrl + C | Ctrl + C | Ctrl + C | Ctrl + C |
Paste | Ctrl + V | Ctrl + V | Ctrl + V | Ctrl + V | Ctrl + V | Ctrl + V | Ctrl + V | Ctrl + V | Ctrl + V | Ctrl + V | Ctrl + V |
Find | Ctrl + F | Ctrl + F | Ctrl + F | Ctrl + F | Ctrl + F | Ctrl + F | Ctrl + F | Ctrl + F | Ctrl + F | Ctrl + F | Ctrl + F |
Find Next | Ctrl + G | Ctrl + G | Ctrl + K | Ctrl + G | F3 | F3 | F3 | F3 | F3 | F3 | F3 |
Find Previous | Ctrl + Shift + G | Ctrl + Shift + G | Ctrl + Shift + K | Ctrl + Shift + G | Shift + F3 | Shift + F3 | Shift + F3 | Shift + F3 | Shift + F3 | Shift + F3 | Shift + F3 |
Replace | Ctrl + Shift + R | Ctrl + Shift + R | Ctrl + F | Ctrl + H | Ctrl + R | Ctrl + R | Ctrl + F | Ctrl + H | Ctrl + H | Ctrl + H | Ctrl + H |
Select All | Ctrl + A | Ctrl + A | Ctrl + A | Ctrl + A | Ctrl + A | Ctrl + A | Ctrl + A | Ctrl + A | Ctrl + A | Ctrl + A | Ctrl + A |
Format Document | Ctrl + I | Ctrl + I | Ctrl + Shift + F | Ctrl + Alt + L | Ctrl + K, Ctrl + D | Ctrl + Shift + I | Alt + Shift + F | ||||
Complete Word | Ctrl + / | Ctrl + / | Alt + / | Ctrl + Space | Ctrl + Space | Ctrl + Space | Ctrl + Space | Ctrl + Space | Ctrl + Space | Ctrl + Space | |
Convert to Uppercase | Ctrl + Shift + X | Ctrl + U | Ctrl + U | Alt + Shift + U | Ctrl + K, Ctrl + U | Ctrl + Shift + U | |||||
Convert to Lowercase | Ctrl + Shift + Y | Ctrl + L | Ctrl + Shift + U | Alt + U | Ctrl + K, Ctrl + L | Ctrl + U | |||||
Toggle Case | Not supported | Ctrl + Shift + U | |||||||||
Go to Line | Alt + G | Alt + G | Ctrl + L | Ctrl + I | Ctrl + G | Ctrl + G | Ctrl + L | Ctrl + G | Ctrl + G | Ctrl + G | Ctrl + G |
Delete Line | Ctrl + D | Ctrl + D | Ctrl + K | Ctrl + Y | Ctrl + Shift + K | Ctrl + Shift + L | Ctrl + Shift + K | Ctrl + Shift + K | |||
Move Line Up | Alt + Up | Alt + Up | Ctrl + Shift + Up | Alt + Shift + Up | Ctrl + Shift + Up | Ctrl + Shift + Up | Alt + Up | Alt + Up | Alt + Up | ||
Move Line Down | Alt + Down | Alt + Down | Ctrl + Shift + Down | Alt + Shift + Down | Ctrl + Shift + Down | Ctrl + Shift + Down | Alt + Down | Alt + Down | Alt + Down | ||
Add Cursor Above | Not supported | Alt + Shift + Up | Alt + Shift + Up | Alt + Shift + Up | Alt + Shift + Up | Ctrl + Alt + Up | |||||
Add Cursor Below | Not supported | Alt + Shift + Down | Alt + Shift + Down | Alt + Shift + Down | Alt + Shift + Down | Ctrl + Alt + Down | |||||
Sort Lines | Ctrl + Alt + S | F9 | |||||||||
Add Line Comment | Ctrl + Alt + ; | Ctrl + Alt + ; | Not Assigned | Ctrl + D | Ctrl + K, Ctrl + C | Ctrl + K, Ctrl + C | Ctrl + K, Ctrl + C | ||||
Remove Line Uncomment | Ctrl + Alt + = | Ctrl + Alt + = | Not Assigned | Ctrl + Shift + D | Ctrl + K, Ctrl + U | Ctrl + K, Ctrl + U | Ctrl + K, Ctrl + U | ||||
Toggle Line Comment | Ctrl + / | Ctrl + / | Ctrl + / | Ctrl + / | Ctrl + / | ||||||
Refactor - Rename | Alt + Shift + R | Shift + F6 | Ctrl + Shift + R | F2 | F2 | ||||||
Go Back | Alt + Left | Ctrl + Alt + Left | Alt + Left | Alt + - | Ctrl + Alt + - | Alt + Left | |||||
Go Forward | Alt + Right | Ctrl + Alt + Right | Alt + Right | Alt + Shift + - | Ctrl + Shift + - | Alt + Right |
Debugging
DrRacket | Eclipse | Edge | Firefox (Linux) | Firefox (Windows) | Google Chrome (Windows) | PyCharm | Qt Creator | Visual Studio | Visual Studio Code (Linux) | Visual Studio Code (Windows) | |
---|---|---|---|---|---|---|---|---|---|---|---|
Start Debugging | F11 | Shift + F9 | F5 | F5 | F5 | F5 | |||||
Continue Debugging | F8 | F5 or F8 | F8 | F8 | F8 or Ctrl + \ | F9 | F5 | F5 | F5 | F5 | |
Step Into | F5 | F11 | Ctrl + F11 | F11 | F11 or Ctrl + ; | F7 | F11 | F11 | F11 | F11 | |
Step Out | F7 | Shift + F11 | Ctrl + Shift + F11 | Shift + F11 | Shift + F11 or Ctrl + Shift + ; | Shift + F8 | Shift + F11 | Shift + F11 | Shift + F11 | Shift + F11 | |
Step Over | F6 | F10 | F10 | F10 | F10 or Ctrl + ' | F8 | F10 | F10 | F10 | F10 | |
Toggle Breakpoints | Ctrl + Shift + B | Ctrl + B | Ctrl + B | Ctrl + B | Ctrl + F8 | F9 | F9 | F9 | F9 |