Skip to content

Instantly share code, notes, and snippets.

@narze
Created May 6, 2023 07:37
Show Gist options
  • Save narze/e58c3b4acaebab6a14657236d2ca4b60 to your computer and use it in GitHub Desktop.
Save narze/e58c3b4acaebab6a14657236d2ca4b60 to your computer and use it in GitHub Desktop.

Note

  • Cmd (⌘) on mac == Ctrl on Windows/Linux
  • Show keystrokes with Toggle Screencast Mode

Essentials

  • Quick Open Cmd/Ctrl + P
  • Multi selection Cmd/Ctrl + D
  • Find in project Cmd/Ctrl + Shift + F
  • Previous or Next editor (Tab) Cmd/Ctrl + Shift + [ or ]
  • Open Command Palette Cmd/Ctrl + Shift + P

Text Editing

  • Insert line below / above Cmd/Ctrl (+ Shift) + Enter
  • Go to line
    • Ctrl + G
    • Quick open with :num
  • Word operation modifier Alt (⌥ on Mac)
  • Select line Cmd/Ctrl + L
  • Delete line Cmd/Ctrl + Shift + K / Cut line (Cmd/Ctrl + X)
  • Move line Alt + Up/Down
  • Indent Cmd/Ctrl + [ / ]

Miscelleneous

  • Cmd/Ctrl + K commands (Key combination)

    • Language Mode : -> M
    • View Keyboard Shortcuts : -> Cmd/Ctrl + S
    • Zen mode : -> Z
  • Type on command pallette

    • Show Explorer
    • Toggle Terminal
    • Create file (Edit/Rename/Delete needs "File Utils" extension)
    • Split editor
    • Toggle word wrap
    • Screencast Mode
    • Reveal in file explorer
    • Find other commands & shortcut keys
  • Tips

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment