this post was submitted on 16 Jan 2024
188 points (78.0% liked)
Programmer Humor
32549 readers
452 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Home is God-tier, just as useful as End when editing stuff.
Yeah, weird to see someone who appreciates the end key but not the home key.
Editing a line and pressing home to jump to the start of it is incredibly useful.
More so when dealing with anything that was wrapped
I have my left mouse wheel click set to home, and right mouse wheel click to end. That way I can decide if I want to be at the start of the line or the end.
Why use the mouse when you are already on the keyboard?
What if you want to be at the spot where you actually clicked the mouse?
Insanely useful editing CLI
Agreed, but I am more of a "Shift + I" kind of guy
Wait doesn't Shift + I just type "I"?
Only if you are in insert mode. If you are in normal mode, Shift-I moves to the beginning of the line and then enters insert mode.
That’s some arcane gobbledygook. I think you mean M-m
Esc-meta-alt-ctrl-shift + m
Tied my left hand into a pretzel trying that one
Ah, I see you're a nerd of culture as well.
To kill the joke, they're talking about the popular and mode-based editor VIM where in normal mode each key on the keyboard does an action
Yeah when I searched for "insert-mode" from another comment, the next suggested result was "insert-mode vim" and "insert-mode visual studio" (which IIRC is just aping vim), plus it's /c/programmerhumor so I had a feeling that it would be vim shenanigans.
~~Or
CTRL-{left arrow}
~~~~I think, I'm going off muscle memory~~
That jumps left one word rather than to the start of the line in everything I can think of
Nope you're right, it was
Fn+{{left arrow}}
on mine. I don't use it often thoughCtrl+A does do that though if you wanted a Ctrl way of doing it
Had to look for a new laptop for my wife. One of the requirements was a Home and an End key because both were missing on her old laptop for some inane reason. Not available with Fn, just nothing. Before that we wouldn't even have thought of checking for that.
You can add those as win+, or any other combination you like, using KMonad or Kanata, plus a lot of other shenanigans. But I guess having them natively is a lot easier for everyone involved.
Apple didn’t think so on the iPhone