My fix for Home Row Shift while ty
In this post I will explain how to use Home Row Shift while typing by applying the one-shot modifier and thumb chord patterns.
The Problem
One of the most popular and controversial patterns used in keyboard programming is Home Row Modifiers. The concept is simple: when holding a key of the home row, let it behave as a modifier (Shift, Control, Alt or Win/Command/Super/Meta). This is easy to achieve for performing a key combination in isolation. But problems arise when we begin typing. That is because when we type at speed we tend to roll keys, meaning we have not fully released a key before we press the next one.
So how can we differentiate between a roll and an intentional key combination? Fortunately there are many ways to resolve this ambiguity. The most effective one, in my view, is to skip HRMs if there have been recent key presses. Make your HRMs timeless as well and they will largely stay out of the way. You can learn more about it here.
But once you solve misfires, you may find that HRMs are no longer usable while typing at speed as they will now require a pause in order to be triggered, which is particularly problematic for the Shift key.
My Solution
What I propose is to add a chord that consists of the home row shift key and a thumb key (e.g., the spacebar), then bind the chord to a one-shot shift modifier. Here is an example on how to configure this using keyd or keydo:
d+space = oneshot(shift) k+space = oneshot(shift) The advantage of using a chord is that the keys involved have to be pressed within a very short time window, which I personally set to 35 milliseconds, for the chord to register. I have found that using my index or middle finger together with my thumb for a chord is not hard to get used to.
One-shot modifiers have the obvious advantage of removing the need of holding the modifier until the next key is pressed. But a less obvious advantage is that, if configured correctly, holding only one of the keys of the chord after its activation will keep the modifier active. That means I can hold the spacebar or thumb key to anchor Shift to it until I am done with it, which enables me to type acronyms or constant names with all my fingers.
原文:https://www.a8q9.cn/en/article/my-fix-for-home-row-shift-while-ty-215faf.html