Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

11 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 

Repository files navigation

Acerbic Editing

Quite often you will have structured data that you want to make templated edits to all at once. For example, if you have a struct definition or a JSON file and you want to use all of the fields in a large variable declaration.

Visual Studio Code has some great shortcuts that make this fun and easy.

Acerbic.Editing.webm

Think in melody. What words do you have, and what are you trying to change?

  • ⌘ + D: Create additional cursor at next match for selection
  • ⎇ + Click: Create additional cursor at pointer
  • ⌘ + ⎇ + ↑/↓: Create additional cursor on line above/below
  • ⎇ + ←/→: Navigate cursor left/right one word at a time
  • Shift + ←/→: Select under cursor
  • ⎇ + ↑/↓: Move line up/down
  • ⌘ + Delete: Delete all left
  • ⌘ + Fn + Delete: Delete all right
  • ⌘ + Shift + P: Open Command Palette
    • Transform to Uppercase
    • Transform to Lowercase

Grab the edge of a common word and hit ⌘ + D a few times, move around with ⎇ + ←/→.

With these shortcuts, you can make rapid edits to many lines with similar words and tabular layout.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors