this post was submitted on 17 Sep 2023
287 points (98.6% liked)

Asklemmy

43948 readers
840 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!

  1. Open-ended question
  2. 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.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_[email protected]~

founded 5 years ago
MODERATORS
 

Specifically thinking of stuff that make your life better in the long run but all kinds of answers are welcome!

I've recently learnt about lifetraps and it's made a huge positive impact on how I view myself and my relationships

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 135 points 1 year ago (5 children)

Control + Backspace deletes entire words rather than individual characters

[–] [email protected] 49 points 1 year ago (2 children)

Control + Arrows also moves your text cursor by whole words. Combine it with shift and you can easily select a bunch of text without the mouse.

Another one that took me far too long to learn: Shift + Tab will do the same thing as tab (next element) in reverse

[–] [email protected] 13 points 1 year ago (2 children)

Also shift+pos1/end selects whole rows or parts from where the cursor is.

[–] [email protected] 12 points 1 year ago (1 children)

Learn vim and you can completely forget this information

[–] [email protected] 7 points 1 year ago

And once you do, you can use them in bash by running (or adding to your ~/.bashrc) set -o vi!

[–] [email protected] 6 points 1 year ago

It's the Home/End keys on US keyboard layouts. I use them all the time when coding.

[–] [email protected] 1 points 1 year ago

CTRL + Shift + Home/End will select all to the start/end of a document. I use that one a lot

[–] [email protected] 15 points 1 year ago

similarly if you're using arrow keys to move the cursor where you want, ctrl + arrow key moves you along word by word instead of letter by letter.

[–] riskable 12 points 1 year ago

In bash, it's alt-backspace πŸ‘

[–] [email protected] 8 points 1 year ago (1 children)

Ctrl + shift + v to strip formatting before pasting (can be application dependent)

[–] [email protected] 5 points 1 year ago

think it’s cmd+alt+shift+v for our mac friends

[–] [email protected] 5 points 1 year ago

For a key-combo I've found handy:

shift + ins = a more general paste-command. While ctrl + v works in most Microsoft-contexts, shift + ins seems to work both in MS Windows, Command prompt, Linux and several other systems.