-
Select words with ctrl + shift + left/right arrow keys
-
Select a character at a time with shift + left/right arrow key
-
Select entire line with shift + up/down arrow key
You Should Know
YSK - for all the things that can make your life easier!
The rules for posting and commenting, besides the rules defined here for lemmy.world, are as follows:
Rules (interactive)
Rule 1- All posts must begin with YSK.
All posts must begin with YSK. If you're a Mastodon user, then include YSK after @youshouldknow. This is a community to share tips and tricks that will help you improve your life.
Rule 2- Your post body text must include the reason "Why" YSK:
**In your post's text body, you must include the reason "Why" YSK: It’s helpful for readability, and informs readers about the importance of the content. **
Rule 3- Do not seek mental, medical and professional help here.
Do not seek mental, medical and professional help here. Breaking this rule will not get you or your post removed, but it will put you at risk, and possibly in danger.
Rule 4- No self promotion or upvote-farming of any kind.
That's it.
Rule 5- No baiting or sealioning or promoting an agenda.
Posts and comments which, instead of being of an innocuous nature, are specifically intended (based on reports and in the opinion of our crack moderation team) to bait users into ideological wars on charged political topics will be removed and the authors warned - or banned - depending on severity.
Rule 6- Regarding non-YSK posts.
Provided it is about the community itself, you may post non-YSK posts using the [META] tag on your post title.
Rule 7- You can't harass or disturb other members.
If you harass or discriminate against any individual member, you will be removed.
If you are a member, sympathizer or a resemblant of a movement that is known to largely hate, mock, discriminate against, and/or want to take lives of a group of people and you were provably vocal about your hate, then you will be banned on sight.
For further explanation, clarification and feedback about this rule, you may follow this link.
Rule 8- All comments should try to stay relevant to their parent content.
Rule 9- Reposts from other platforms are not allowed.
Let everyone have their own content.
Rule 10- The majority of bots aren't allowed to participate here.
Unless included in our Whitelist for Bots, your bot will not be allowed to participate in this community. To have your bot whitelisted, please contact the moderators for a short review.
Partnered Communities:
You can view our partnered communities list by following this link. To partner with our community and be included, you are free to message the moderators or comment on a pinned post.
Community Moderation
For inquiry on becoming a moderator of this community, you may comment on the pinned post of the time, or simply shoot a message to the current moderators.
Credits
Our icon(masterpiece) was made by @clen15!
- Single click - cursor position
- Double click - word selection
- Triple click - paragraph selection
All three work with click + drag to select a range.
- arrow left, right, up, down - cursor movement
- page up and down - move cursor up and down a page
- home - start of line
- end - end of line
- backspace - delete previous
- del[ete] - delete following
Shift and Ctrl serve as modifiers to the above character and line based actions.
- hold shift - select text from cursor source to end
- hold ctrl - expand character action to word action (arrow keys, backspace, delete), line to full text action (home, end), and paging to tabbing
In programming, this can become even more fun with multi-cursor editing, where you can place multiple text cursors, and edit multiple lines simultaneously.
That does not make much sense for prose text, but regularly so for software source code which has a much more structured and sometimes repetitive aspect to it.
There are also many other operations like moving, cutting, and pasting entire lines without the need to select them.
Or scrolling the view while also moving the text cursor and selecting - or a view that automatically scrolls when you come close to the edge - so you don't have to select then scroll then continue to select.
I regularly use an expand selection action that selects outwards. Word -> sentence -> paragraph. In programming with structured and hierarchical text this makes even more sense. variable -> parameter -> parameters -> function call -> function call statement including qualifier/scope etc.
You can also navigate to the start of a line with HOME, and the end of it with END! Pair with SHIFT to select text from your current cursor position to the start or end of a line.
Very basic, but incredibly useful. Love it.
am I the only one who thought everyone already knew this? Especially Ctrl + Backspace. I don't remember the last time I erased a word character by character
Not too long ago I found out my comp sci classmate didn't know about ctrl + tab and alt + tab. I'm not too surprised anymore. I've settled with the fact that most people I meet are normie tech bros who aren't too knowledgeable about how to use computers.
You were wrong. I had no idea!
This is game changing!
Same. But that's why I put it in "You should know".
Left+right arrows moves the text caret, backspace deletes to the left of the caret, delete deletes to the right of the caret.
Hold shift to highlight text. Hold control to move by whole words. Hold both to do both at once.
Bonus tip: tab and shift+tab can be used to navigate back and forth between inputs in most places.
Is this a Windows OS thing or does it work with Linux based Ossa too?
Should work pretty much everywhere
Works basically everywhere, even minecraft ffs
mac it’s option
Didn't work for me, buy option key worked.