What's something that's not common knowledge but you think everyone should know?

Lianrepl@kbin.social to Asklemmy@lemmy.ml – 287 points –

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

340

You are viewing a single comment

Control + Backspace deletes entire words rather than individual characters

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

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

Learn vim and you can completely forget this information

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

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

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

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.

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

think itโ€™s cmd+alt+shift+v for our mac friends

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.