3 ms·
Yeah, this isn't for me. I'm one of the degenerates the article mentions that often uses autorepeat on the spacebar (in fact, I usually only use autorepeat for
by JohnFen 3y ago
Yeah, this isn't for me. I'm one of the degenerates the article mentions that often uses autorepeat on the spacebar (in fact, I usually only use autorepeat for three things: spaces, '-', and '=').
The article briefly addresses this, but only says that you're a terrible person if you do this, without explaining why. I'm curious about why I shouldn't, and what I should do instead.
- sneak 3y agoWhat is the case where you need to type lots of spaces? Usually tab is a better fit for this (not the tab character, but the tab button on the keyboard).
- JohnFen 3y agoTypically, formatting plain text documents that aren't source code. I also want to use the tab key to make a tab character, though. I suppose that I could reprogram the tab key so that holding it down repeats spaces, but that's straying too far afield for my tastes. I can see how this scheme would be excellent for some, but for me, I'm pretty sure that I'd be happier making the fn key something else.
- adrian_b 3y agoFor that, I prefer to configure the editor to convert tabs into spaces, so I still use the tab key, as this is faster.
- JohnFen 3y agoI don't always use the same editor, and some of the editors I use can't be configured like that. But I'm curious -- what do you do when you want tabs?
- sneak 3y agoI never want tabs in my files, as tabs render inconsistently across viewing apps. Tab characters are like nondeterministic spaces, so why would I use them? Some things require tabs, like Makefiles. My editor (vim) is smart enough to know this when editing a Makefile and do the right thing.
- ogab 3y agoI've tried SpaceFn on a standard 65% keyboard with one spacebar, and I'm not a big fan of the experience. I found it difficult to get the timing right between registering press vs hold. However, on a board with two spacebars — like Keebio's Quefrency or Sinc, or an Alice/Arisu board — I love it. I use my right thumb for space most of the time, so it's just a regular space key, and my left space is set up in SpaceFn style. Fn-B is a repeatable space key if I need it on that side but I hardly do. I'm also weird in that I like to have the same modifiers on both sides, especially on keebs split in two. On a 65% with one spacebar, I use the Caps Lock key for left Function, and the bottom key of the rightmost nav column is End on press and Function on hold. Control on Caps Lock is what gives me Emacs pinky for whatever reason. I keep two Control on the corners.
- caylus 3y agoQMK, one of the keyboard configuration tools referenced by the article, has the "quick tap term" feature that handles this: > When the user holds a key after tapping it, the tapping function is repeated by default, rather than activating the hold function. This allows keeping the ability to auto-repeat the tapping function of a dual-role key. ref. https://github.com/qmk/qmk_firmware/blob/master/docs/tap_hold.md#quick-tap-term https://github.com/qmk/qmk_firmware/blob/master/docs/tap_hol... I use both space and backspace (in the caps lock position) as dual-function keys and find it very usable when I occasionally want to repeat-tap them.
- eviks 3y agoYou can still use it to make it as easy - add a space mode key to add 4 spaces and another one for 8 spaces, which is more precise for indent vs holding spacebar, and also as precise for non-multiple alignment with a backspace or two (also within space mode)