this post was submitted on 13 Jul 2024
82 points (97.7% liked)
Asklemmy
43968 readers
1727 users here now
A loosely moderated place to ask open-ended questions
Search asklemmy ๐
If your post meets the following criteria, it's welcome here!
- Open-ended question
- Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
- Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
- Not ad nauseam inducing: please make sure it is a question that would be new to most members
- An actual topic of discussion
Looking for support?
Looking for a community?
- Lemmyverse: community search
- sub.rehab: maps old subreddits to fediverse options, marks official as such
- !lemmy411@lemmy.ca: a community for finding communities
~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
If you select some text then use CTRL+D, the editor will search the next match in the file and add it to your selection, and whenever you type something both of the selected segments of text will be edited in the same way - you can extend the selections with SHIFT+LEFT and SHIFT+RIGHT.
It's hard to explain in an intuitive way, but you'll get it if you try it.
Another simpler example is CTRL+SHIFT+UP and CTRL+SHIFT+DOWN: your current selection splits to the next line in either direction.
Something similar happens with CTRL+SHIFT+MOUSE_LEFT.
These work in most programs. You cam also use ctrl + bksp to backspace a full word
I'd believe Shift+Left and Shift+Right, but I doubt most programs support multicursor.
"Most programs" as in "most IDEs", maybe; Visual Studio, Eclipse, Micro and Kate do not, or at the very least not with those key combinations.
It works in web browsers. And Libre office. Try it
I don't have LibreOffice installed, but on Firedragon (a fork of Floorp (based on Firefox)) CTRL+SHIFT+DOWN behaves the same as SHIFT+DOWN, with no selection split; CTRL+D also has nothing to do with selection.
I meant that holding ctrl+left/right or bs/del acts on a word object rather than a character. Same with ctrl+shift+left/right. I use this to select and cut words without moving my hand to the mouse. Mostly writing emails in outlook on Firefox.
Appologies if there was some misunderstanding.