this post was submitted on 22 Jul 2024
72 points (98.6% liked)
Programming
17326 readers
230 users here now
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Rules
- Follow the programming.dev instance rules
- Keep content related to programming in some way
- If you're posting long videos try to add in some form of tldr for those who don't want to watch videos
Wormhole
Follow the wormhole through a path of communities !webdev@programming.dev
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Ctl-U to delete everything on the line before cursor.
Ctl-E to skip to end of line.
Ctl-A to skip to beginning of line.
Or, just use Home and End like they were intended! Kids these days….
That's horrible for muscle memory, every time I switch desk/keyboard I have to re-learn the position of the home/end/delete/PgUp/PgDn keys.
I got used to
Ctrl-a
/Ctrl-e
and it became second nature, my hands don't have to fish for extra keys, to the point that it becomes annoying when a program does not support that. Some mapCtrl-a
to "Select all" so, for input fields where the selection is one line, I'd ratherCtrl-a
thenleft
/right
to go to the beginning/end than fish forhome
/end
, wherever they are.