News for hackers. Stuff that matters.
Re:Ask HN: Does anyone use keyboard/mouse extra buttons for ... by screye on Tuesday July 27, 2021 @08:28PM (#27979171)
Along the same lines:

1. How often do people use 'home' and 'end' keys ? I don't, but I know quite a lot who swear by them. Do they actually increase productivity ?

2. Should caps lock be removed as a large button in the most valuable real-estate-area on the keyboard ? I literally never use it. Even when typing long ALL-CAPS sequences. I just use 'shift' instead.

3. Do you use space bars with both hands ? I only use space with the right, and IMO, it could be shorter.

Re:Ask HN: Does anyone use keyboard/mouse extra buttons for ... by magicalhippo on Tuesday July 27, 2021 @09:44PM (#27979545)
> 1. How often do people use 'home' and 'end' keys ? I don't

I'd say, what are you coding where you don't benefit from home and end?

I use both a lot while coding, usually in conjunction with ctrl+left or ctrl+right for quickly positioning the cursor where I want it, or ctrl+home or ctrl+end to quickly go to the top or bottom respectively.

> 3. Do you use space bars with both hands ?

Yes, not often while programming, but often with other applications or games where I have right hand on the mouse.

Re:Ask HN: Does anyone use keyboard/mouse extra buttons for ... by screye on Tuesday July 27, 2021 @10:23PM (#27979716)
> what are you coding where you don't benefit from home and end?

The kind where my typing speed does not affect my output. Also, the type who doesn't use command line text editors.

I work in ML and mostly use python. Very rarely do I need to be efficient in how I navigate my documents/code, because it is rarely the bottle neck.

Lastly, all my laptops have both end/home positioned awkwardly, so I never found it quite ergonomic enough for my purposes.

Re:Ask HN: Does anyone use keyboard/mouse extra buttons for ... by BrandoElFollito on Wednesday July 28, 2021 @01:17PM (#27986313)
This is also my case. I spend all my day on a computer (and then the evening for fun) but a lot is thinking.

I always wanted to learn to touch type but never needed it so much that it would be worth to dedicate time for learning.

I do code a lot but I am a poor dev so I spend time thinking how to do things out looking at the docs (despite coding for 30 years).

It was even more obvious when doing my thesis (physics). 70% time thinking about code, 30 actually typing

Re:Ask HN: Does anyone use keyboard/mouse extra buttons for ... by magicalhippo on Tuesday July 27, 2021 @11:51PM (#27980086)
I guess I picked it up in the back command line era, though code editors haven't changed that much since Turbo Pascal. I use them just as much when writing Python as anything else.

But yeah, laptop, I guess that explains it. I don't use home/end any where close to as much when on a laptop. Fortunately I seldom need to use them.

Re:Ask HN: Does anyone use keyboard/mouse extra buttons for ... by thraxil on Wednesday July 28, 2021 @05:39AM (#27981928)
> I'd say, what are you coding where you don't benefit from home and end?

In emacs, it's just Ctrl+a and Ctrl+e to go to beginning of line and end of line respectively. Those don't involve taking my hands off the home row, so they're much faster than lifting a hand up to go hit Home or End.

Re:Ask HN: Does anyone use keyboard/mouse extra buttons for ... by nickjj on Wednesday July 28, 2021 @07:56AM (#27982759)
> In emacs, it's just Ctrl+a and Ctrl+e to go to beginning of line and end of line respectively.

This also works for most terminal emulators unless you've customized your bindings. It's really handy to go-to the beginning or end of a terminal command.

Re:Ask HN: Does anyone use keyboard/mouse extra buttons for ... by magicalhippo on Wednesday July 28, 2021 @09:16AM (#27983322)
> they're much faster than lifting a hand up to go hit Home or End

Hmm, I see jumping by words is Alt+f and Alt+b, which seems more awkward to follow up with than Ctrl+Home followed by Ctrl+Left, say. Then again, mostly depends on time spent I doing it assume.

Re:Ask HN: Does anyone use keyboard/mouse extra buttons for ... by thraxil on Thursday July 29, 2021 @04:40AM (#27994248)
Maybe it's just my personal workflow, but I rarely feel the need to go forward/back by word. Beginning or end of line are common and useful, but otherwise if I want to get to a specific word/line that I'm looking at, I will mostly do Ctrl+s to search and basically jump there immediately or in one or two hops (or Ctrl+r to search backwards). It's hard to convey, but it feels less like "navigating" or "moving" around a 2-dimensional grid of text and instead just teleporting to exactly where I want.
Re:Ask HN: Does anyone use keyboard/mouse extra buttons for ... by RheingoldRiver on Tuesday July 27, 2021 @09:31PM (#27979480)
1. I use home & end a lot! Actually, I've switched the bindings (in ahk) of Page Down & End. So my keyboard is Home-PageUp and then Page Down-End. The reason is that intuitively, I think Home should be to the left of End, and also Page Up should be above Page down. Having them at opposite corners accomplishes this, even if the bindings are...a little bit weird. However, I rarely use PageUp/Down. (I do on occasion, just not often.) I also use Ctrl+Home/end a lot to get to the start or end of a document or textarea or whatever, including coupled with shift followed by backspace. 2. Mine is rebound to Control and has been for over a decade, so yes but not actually, it should be Control. I would probably like the actual Control key to be an alternative modifier key because atm it's useless... 3. Just right hand.
Re:Ask HN: Does anyone use keyboard/mouse extra buttons for ... by godot on Wednesday July 28, 2021 @12:52PM (#27985979)
1. I've been using home/end extensively for decades. I had a Windows computer since early 90s and started learning to code on notepad so I never learned ctrl-a/e until later on, so I stuck with home/end. In modern days work laptops are alwasy Macs so in fact I've had to map home/end to work like it does on Windows (go to beginning and end of line).

2. Similarly since I now use a Mac more often than Windows, I just map Caps Lock to Esc. This has been particularly important due to the Esc key having been moved to the touchbar. I've gotten very used to reaching for the location of the Caps Lock key when I need to press Esc.

3. I do use space bars with both hands.

Re:Ask HN: Does anyone use keyboard/mouse extra buttons for ... by Macha on Tuesday July 27, 2021 @08:44PM (#27979256)
1. I use home/end a lot, both for text editing and jumping to the start/end of lists with keyboard navigation.

2. I've tried rebinding to escape but just got frustrated by inconsistency, so now I just leave it unused.

3. Thinking about it, I have two modes, "gaming" where my right hand is in the mouse and left on wasd, where I tend to use my left thumb for spacebar, and "working" where I have both hands on the keyboard and just use whichever is most free at that point.

Re:Ask HN: Does anyone use keyboard/mouse extra buttons for ... by chaosmachine on Tuesday July 27, 2021 @08:41PM (#27979241)
On my laptops (Windows and Mac) I remap right-ctrl/right-alt to home/end. Couldn't live without it, I use them hundreds of times a day to jump around code and the command line. Also very handy when combined with shift to select everything before/after your cursor.
Re:Ask HN: Does anyone use keyboard/mouse extra buttons for ... by 1-more on Tuesday July 27, 2021 @10:52PM (#27979820)
Home and End are available almost everywhere in macOS with Ctrl+a and Ctrl+e. When I use someone else's computer I inevitably end up typing A and E within about 2 minutes since I'm used to caps lock as control. So I guess every two minutes or so?
Re:Ask HN: Does anyone use keyboard/mouse extra buttons for ... by axiosgunnar on Tuesday July 27, 2021 @08:30PM (#27979178)
I thought everyone remaps CAPS LOCK to ESCAPE?
Re:Ask HN: Does anyone use keyboard/mouse extra buttons for ... by grzm on Tuesday July 27, 2021 @08:31PM (#27979197)
Mapping CAPS LOCK to CONTROL is another popular option. But I suspect when one takes into account the entire population of computer users, CAPS LOCK remains CAPS LOCK and likely largely unused.
Re:Ask HN: Does anyone use keyboard/mouse extra buttons for ... by 3dsynd on Tuesday July 27, 2021 @09:29PM (#27979466)
I use CAPS LOCK as language switch button.
Re:Ask HN: Does anyone use keyboard/mouse extra buttons for ... by allarm on Wednesday July 28, 2021 @02:38AM (#27980892)
I use ⌘-1/⌘-2 for English/Russian layouts. It's better than using a switch key because it's deterministic - you don't need to look at the layout indicator or whatnot.
Re:Ask HN: Does anyone use keyboard/mouse extra buttons for ... by chrisseaton on Tuesday July 27, 2021 @08:31PM (#27979194)
The vast vast majority of people aren't remapping any keys at all.
Re:Ask HN: Does anyone use keyboard/mouse extra buttons for ... by 3np on Tuesday July 27, 2021 @10:26PM (#27979735)
Maybe you would also be interested in remapping a bit.

1. Almost never. ^$ and Ctrl+ae fill 90% of use-cases. My Home/End and PageUp/PageDown are on a secondary layer.

2. The button itself is useful, the CL function is useless. I remapped mine to be a layer modifier (e.g. hjkl become arrow keys, and the above)

3. Training myself off it atm. I have a split keyboard where left thumb is Space, right thumb is Enter.

Layout and keyboard in my other reply [0]

[0] https://news.ycombinator.com/item?id=27961382

Re:Ask HN: Does anyone use keyboard/mouse extra buttons for ... by dhosek on Tuesday July 27, 2021 @11:43PM (#27980050)
1. Never. It doesn't help that they're hidden behind fn-← and fn-→ on my laptop. Years of Emacs usage acclimated me to using ctrl-a/ctrl-e and on the handful of programs that don't support it (like Word), my first step is to make them new shortcuts for that app.

2. Yes, but what should go there? One of my first steps on a new Mac is to go to keyboard/modifier keys and disable caps lock.

3. Yes, although I'm noticing that I favor my left thumb for spacebar usage. I think it's wide because of the variety of ways people use it.

Re:Ask HN: Does anyone use keyboard/mouse extra buttons for ... by valbaca on Wednesday July 28, 2021 @12:40PM (#27985823)
You might benefit from a Kinesis Freestyle Pro keyboard.

The spacebar is split (the whole keyboard is actually) and all the buttons are completely configurable: remap and macros.

If you don't use home and end keys, or the left-side spacebar (or any key!) you can bind them to whatever you want.

Re:Ask HN: Does anyone use keyboard/mouse extra buttons for ... by dempedempe on Saturday July 31, 2021 @10:35AM (#28018483)
Based on the wear on my spacebar, it looks like I only use my left thumb to hit space and now that I'm typing this I can clearly see that this is the case .

Dear Apple, please reduce the size of the spacebar.

Re:Ask HN: Does anyone use keyboard/mouse extra buttons for ... by jjice on Wednesday July 28, 2021 @10:16AM (#27984031)
I use home and end a ton, but I didn't until about a year ago. They're fantastic, and it's a bit faster than Esc + Shift-I/A in Vim, plus it works on everything (except on MacOS).
Re:Ask HN: Does anyone use keyboard/mouse extra buttons for ... by GnarfGnarf on Tuesday July 27, 2021 @11:04PM (#27979865)
1. I use Home all the time, to get to the beginning of the line.

2. I removed the Caps Lock key from my "Das Keyboard". Kept hitting it by accident.

Re:Ask HN: Does anyone use keyboard/mouse extra buttons for ... by rileytg on Tuesday July 27, 2021 @08:41PM (#27979242)
1. I use cmd + arrow or alt + arrow ALL the time. to the point where i fumbled around on non macs.
Re:Ask HN: Does anyone use keyboard/mouse extra buttons for ... by WesleyLivesay on Tuesday July 27, 2021 @08:37PM (#27979222)
As a 60% kB user I use caps as my fN and can’t say I miss it at all.