86 words, 1 min read
    
  
  Today, I learned how to select a piece of text in VSCode and insert a cursor at the start of every line. This is useful for adding a prefix to every line in a file. I use this a lot when editing Markdown files.
- Press CTRL/CMD + Ato select all of the text
- Press SHIFT + ALT/OPTION + Ito insert multiple cursors at the end of each line
- Press HomeorCMD + arrow lefttwice to jump to the start of every line
If this post was enjoyable or useful for you, please share it! If you have comments, questions, or feedback, you can email my personal email. To get new posts, subscribe use the RSS feed.
