287
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 17 Sep 2023
287 points (98.6% liked)
Asklemmy
43908 readers
948 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
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.
In bash, it's alt-backspace π
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.