Courses

Visual Studio Code for Vue.js Developers - Enhancing the Development Experience - Keyboard Shortcuts for Writing Code

In this lesson, let’s take a look at some handy keyboard shortcuts that are useful when writing code.

Links

Keyboard Shortcuts

  • Jump words (Left or Right)
    • Option + Left or Right Arrow (Mac)
    • Ctrl + Left or Right Arrow (Windows)
  • Select Words (Left or Right)
    • Shift + Option + Left or Right Arrow (Mac)
    • Shift + Ctrl + Left or Right Arrow (Windows)
  • Jump to Beginning or End of Line
    • Cmd + Left or Right Arrow (Mac)
  • Select from Current Position To Beginning/End of Line
    • Shift + Cmd + Right or Left Arrow (Mac)
  • Copy
    • Cmd + C (Mac)
    • Ctrl + C (Windows)
  • Paste
    • Cmd + V (Mac)
    • Ctrl + V (Windows)
  • Duplicate Line (Up or Down)
    • Shift + Option + Up or Down Arrow (Mac)
    • Shift + Alt + Up or Down Arrow (Windows)
  • Move Line (Up or Down)
    • Option + Up or Down Arrow (Mac)
    • Alt + Up or Down Arrow (Windows)
  • Select Multiple (one at a time)
    • Cmd + d (Mac)
    • Ctrl + d (Windows)
  • Add Mutli-Cursor (Up or Down)
    • Cmd + Option + Up or Down (Mac)
  • Place Multi-Cursor
    • Option + Mouse Click (Mac)
  • Place Multi-Cursor Columns
    • Shift + Option + Mouse Click (Mac)