this post was submitted on 17 Sep 2023
222 points (98.7% liked)

Asklemmy

42493 readers
1428 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] 114 points 9 months ago (5 children)

Control + Backspace deletes entire words rather than individual characters

[–] [email protected] 40 points 9 months ago (1 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] 10 points 9 months ago (2 children)

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

[–] [email protected] 7 points 9 months ago (1 children)

Learn vim and you can completely forget this information

[–] [email protected] 5 points 9 months ago

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

[–] [email protected] 4 points 9 months ago

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

[–] [email protected] 13 points 9 months 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.

[–] [email protected] 10 points 9 months ago

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

[–] [email protected] 5 points 9 months ago (1 children)

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

[–] [email protected] 2 points 9 months ago

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

[–] [email protected] 2 points 9 months 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.