Keyboard Shortcuts Guide

This guide provides keyboard shortcuts for fast programming. The main environment covered is VSCode, but we also include Visual Studio and Ubuntu system shortcuts.

VSCode

General Editing

  • Copy: Ctrl + C

  • Cut: Ctrl + X

  • Paste: Ctrl + V

  • Undo: Ctrl + Z

  • Redo: Ctrl + Y

  • Move Line Up/Down: Alt + Up/Down

  • Delete Line: Ctrl + Shift + K

Autocomplete

  • Autocomplete menu: Ctrl + Space

  • Accept Autocomplete: Tab

  • Close Autocomplete: Esc

Selection

  • Select Word: Ctrl + Shift + Left/Right

  • Select Line: Shift + Home/End

  • Select repetitions from word selected: Ctrl + D

  • Select All: Ctrl + A

  • Select in Square (Column Mode): Shift + Alt + Drag (mouse)

Multi-Cursor Editing

  • Multiple Selections: Shift + Movement

  • Add Another Cursor: Ctrl + Alt + Up/Down

  • Select All Matching Words: Ctrl + Shift + L

Find & Replace

  • Find: Ctrl + F

  • Find Next: F3

  • Find & Replace: Ctrl + H

Code Formatting & Refactoring

  • Format Code: Shift + Alt + F

  • Rename Symbol: F2

  • Quick Fix (Refactor Suggestions): Ctrl + .

  • Comment Line: Ctrl + /

File & Window Management

  • Open File: Ctrl + P

  • Open new File: Ctrl + N

  • Switch Tabs: Ctrl + Tab

  • Close Tab: Ctrl + W

  • Toggle Sidebar: Ctrl + B

  • Open Terminal: Ctrl + j

  • Toggle Full Screen: F11

  • Increase Windows Size: Ctrl + +

  • Decrease Windows Size: Ctrl + -

System Shortcuts

Window & Tab Management

  • Switch Windows: Alt + Tab

  • Close Window: Alt + F4

  • Switch Tabs: Ctrl + Tab

  • Maximize Window: Super + Up

  • Minimize Window: Super + Down

Monitors (Ubuntu)

  • Change Monitor: Ctrl + Alt + Right/Left | Up/Down

  • Move Window to Next Monitor: Ctrl + Alt + Shift + Right/Left | Up/Down

Terminal Shortcuts

  • Open Terminal: Ctrl + Alt + T

For a complete list of shortcuts, check the official documentation for each environment.