this post was submitted on 21 Mar 2026
13 points (76.0% liked)

Technology

82956 readers
3108 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related news or articles.
  3. Be excellent to each other!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


founded 2 years ago
MODERATORS
top 4 comments
sorted by: hot top controversial new old

<C-v>4j:s/element/container/g ๐Ÿคท

[โ€“] raina@sopuli.xyz 2 points 1 day ago* (last edited 1 day ago)

In VSCode, you can enable multiple cursors by clicking on the desired positions while holding down Alt/Option. I think they're enabled by default when making block selections (CBA to remember the modifiers you have to press while drawing a selection with the mouse). And to cover a whole file, first use Find to find the thing you want to change, then hit Alt/Option+Enter to select every instance of the subject string. Now any edit you make will affect every instance.

Basic stuff, but I see a lot of people not really taking advantage of the tools they might've been using for years.

[โ€“] Qubbe@programming.dev 2 points 1 day ago

Or Sublime Text

[โ€“] 404@lemmy.zip 0 points 2 days ago* (last edited 12 hours ago)

~~Or just use an editor built on this concept, like Helix.~~

Edit: Okay. I got downvoted and I see why. Let me rephrase:

If you are interested in this editing mode, you should check out editors that are built around this concept, like Helix (and certain vim/neovim configs/plugins). Having native integration makes it insanely powerful (and you don't have to get Emacs pinky from all the modifier presses).