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.
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.
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.
Home is God-tier, just as useful as End when editing stuff.
Agreed, but I am more of a “Shift + I” kind of guy
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
Ctrl+A does do that though if you wanted a Ctrl way of doing it
Nope you’re right, it was
Fn+{{left arrow}}
on mine. I don’t use it often thoughWait doesn’t Shift + I just type “I”?
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.
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
Insanely useful editing CLI
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.
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?