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.
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
ins for vim. quickly changing between replace and insert mode
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
Never go back
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.
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.
Wasn't it also used to stop terminals (I'm talking, old-ass, mainframe terminals here) auto scrolling even before that ?
It's useful for UltraVNC to pass through key combos like alt-tab without triggering them on the local PC.
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?
F9-F12 are useful when you're debugging code in Visual Studio.
I sometimes use F6 to jump to my browser's address bar.
Can't imagine any uses for F7 or F8 though. And all the times I've opened a help screen with F1 have been on accident.
My main gripe with function keys on laptops is they're tiny and easy to mix up, especially since they have large brightness, volume, etc. icons on them while the function key number is a tiny label that's barely visible.
FYI, you can also use CTRL+L instead of F6 in Most Browsers, easier to reach than F6
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.
You can take my ins from my cold dead hands!
I remember at one point when I was younger and newer to computers I was typing a document for school and being driven nuts by the damn insert key. Like I had zero clue as to why everything I was typing was just being overwritten every time I needed to go back and change something. I still think the insert key is absolutey evil!
On a serious note, the PC keyboard seriously needs a revamp. Scroll Lock? What does that even do nowadays?
what, no SysRq?
boo!
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
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!
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
This comment just gave me ptsd due to a shitty keyboard I had growing up, they decided to put the sleep button (is that even still a thing? 👴) right next to the delete key I hit that thing on accident so many times :(
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!
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
Well, Print screen is literally written on it, so you got what you wanted
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.
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
I use all of these except ScrollLock.
What about the CapsLock key? Windows menu key?