this post was submitted on 16 Jan 2024
188 points (78.1% liked)

Programmer Humor

31998 readers
755 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
188
Obscure button tier list (sh.itjust.works)
submitted 8 months ago* (last edited 8 months ago) by [email protected] to c/[email protected]
 

If you have "Help" instead of "Ins", replace it with Overgod-tier. Keep pressing it, it will come.

OC, feel free to share.

EDIT; Home is now G-od tier. I didn't know it would go to the beginning of a line, I always used macros "lol".

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 197 points 8 months ago (5 children)

Home is God-tier, just as useful as End when editing stuff.

[–] [email protected] 112 points 8 months ago (1 children)

Yeah, weird to see someone who appreciates the end key but not the home key.

[–] [email protected] 26 points 8 months ago (1 children)

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

[–] [email protected] 6 points 8 months ago (2 children)

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.

[–] [email protected] 11 points 8 months ago

Why use the mouse when you are already on the keyboard?

[–] [email protected] 1 points 7 months ago

What if you want to be at the spot where you actually clicked the mouse?

[–] [email protected] 17 points 8 months ago

Insanely useful editing CLI

[–] [email protected] 15 points 8 months ago (2 children)

Agreed, but I am more of a "Shift + I" kind of guy

[–] [email protected] 18 points 8 months ago (2 children)

Wait doesn't Shift + I just type "I"?

[–] [email protected] 25 points 8 months ago (1 children)

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.

[–] [email protected] 16 points 8 months ago (2 children)

That’s some arcane gobbledygook. I think you mean M-m

[–] [email protected] 4 points 8 months ago (1 children)
[–] [email protected] 3 points 7 months ago

Tied my left hand into a pretzel trying that one

[–] [email protected] 1 points 7 months ago

Ah, I see you're a nerd of culture as well.

[–] [email protected] 15 points 8 months ago (1 children)

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

[–] [email protected] 6 points 8 months ago* (last edited 8 months ago)

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.

[–] [email protected] 3 points 8 months ago* (last edited 8 months ago) (1 children)

~~Or CTRL-{left arrow}~~

~~I think, I'm going off muscle memory~~

[–] [email protected] 6 points 8 months ago (2 children)

That jumps left one word rather than to the start of the line in everything I can think of

[–] [email protected] 3 points 8 months ago

Nope you're right, it was Fn+{{left arrow}} on mine. I don't use it often though

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

Ctrl+A does do that though if you wanted a Ctrl way of doing it

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

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.

[–] [email protected] 1 points 7 months ago

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.

[–] [email protected] 1 points 7 months ago* (last edited 7 months ago)

Apple didn’t think so on the iPhone