Home is God-tier, just as useful as End when editing stuff.
Programmer Humor
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.
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
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.
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
You don't use Home? Home and End are my two most used keys on this list. IDEs move your cursor to the beginning of the line but after the indents. It's God -tier.
PgUp and PgDn are also extremely useful when scrolling through logs
I second this! You're not really a programmer until you know how to use home button.
I don't usually gatekeep, except to OP.
but modal editors :/
Home / End to navigate
Shift home/end to select text
add CTRL to navigate the whole doc / page
add shift again to select whole page
I use them constantly, but I'm flipping between excel (/sheets), web, CLI, GUI most days
Home is pretty useful actually, just like end. Ins can go fuck itself
You never use the home button? Do you also not use the terminal?
Yeah, how is "end" in god tier and "home" in replace tier? They're 2 sides of the same coin
For those learning how good Home is, wait until you try CTRL + Home. Start of the file.
Also see: CTRL + End
Exactly. I feel that people shaming all these extra buttons must have been raised in the era of smartphones. They are all so useful. Well, except Insert. I still don't get the point.
Smells like windows if End is God Tier but Home isn't. On the command line being without either would kill my speed something fierce
Ctrl-a and Ctrl-e are much faster to type than home/end and do the same thing (assuming a standard readline-enabled command line).
All the keys in the cluster above the arrow keys are really too hard to reach to be of real practical use, IMO. Actually that includes arrow keys as well. Just too far from home row.
They are all useful, except for maybe Pause. Ctrl+Insert and Shift+Insert ist like Ctrl-C Ctrl-V, but it works in terminals too. Home goes to the beginning of the line. Shift+Home marks the line from current position until the beginning.
They are all useful, except for maybe Pause.
And Scroll Lock?
Scroll lock is useful for Excel. It makes the arrow keys scroll the spreadsheet without changing the currently selected cell. This was actually the original use case for the scroll lock key.
I use all of these keys except scroll lock. Mainly because there aren't any software vendors that support the function anymore, and nobody has had the innovation to use it for anything new.
I use insert regularly, delete all the time. Home and end, pretty much daily.... Print screen sometimes (though I usually use a screen snippet tool instead), and pause is used in some keyboard shortcuts in Windows that are very helpful.
Idk why we're picking on insert and pause when F12 is right there. Seriously, does anyone use any F keys beyond F5? If you do, is your scope then limited to F1/F2/F5? Maybe add alt+F4?
All the F keys do stuff. But in my experience, 90+ % of the time nobody knows what those things are. One of my personal favorites is F2 which is generally used as a shortcut to "rename". It's very helpful. Honorable mention to F5 for all the reasons you would expect.
Meanwhile, there's people like OP throwing shade at our good friend "home".... What are you saying OP? Are you to good for your home?
I use pgup/pgdn every day. Especially with terminal multiplexers, as I am unaware of how to view the scrollback buffer of long outputs faster than a quick couple of pgup's.
"pause/break" I can understand if you don't write compiled code I guess (if you don't know, Ctrl+break usually stops compilation, very handy when you reread your code while compiling and realized you fucked something up), but "home" is remove-tier ??? It's one of the most useful keys for editing text my dude
Ctrl+break doesn't do anything on my machine. Ctrl+c stops a process.
I'll take home over pgup/down any day.
Also Menu key is pretty obscure, I consider it a yellow, since it's useful when you don't have a mouse, but there are other shortcuts that can do it (shift+f10)
Pause is useless but only because escape steals all it's usecases in apps.The only tool I know that uses it prominently is Windbg
Ins is so much more deserving of an indicator light than scroll lock - I almost never want Ins engaged in it's normal meaning... I'd rather just delete word and retype the whole thing.
On a serious note, the PC keyboard seriously needs a revamp. Scroll Lock? What does that even do nowadays?
I usually bind some toggled macros to it (e.g autoclicker). The lil' light really comes in handy for this use case. I also used it as my "mute" shortcut in various VOIP softwares for a while for the same reason
Pressing ScrLk twice and then the number of the port switches to this port on the KVM switch in the office. Very specific use case, but still.
Pause ... I have no idea. If I remember correctly you can, well, pause terminal output with it, but I never tried.
The rest of the keys I use regularly.
on debian based system PrntScr actually prints stuff you're looking at in a terminal, if a printer is configured. learned that the hard way, accidentally printing hundreds of pages of html source
Insert is extremely useful in any editing situation. Right after Find and Replace.
If you don't need it just use it as keybind for something else.
I love to bind push to talk on my beloved ScrLk as it is not interfering with any other shortcut!
Most tier lists use a tabular format, often horizontal. This one looks like a table organized vertically. Except it's neither and instead uses color, but isn't R/G colorblindness the most common form? Anyway, I'm saying that I found it confusing.
Then again, you posted infinitely more to Lemmy today than I did (at zero:-P), so there is no need at all to listen to my whining if you aren't interested in such feedback on presentation style:-D.
My work laptop has pg up and pg down as a secondary on the up and down arrows. It's such a threat to be able to move up and down a page with just pressing fn and the arrow keys
I never used to use Home and End until I put them on a layer right next to my home row. Now I can't live without them. Position really makes a difference!