Home row actions that don't block input #1139
DarkKronicle
started this conversation in
Show and tell
Replies: 1 comment 1 reply
-
sadly, kanata configs of other people are really hard to read. But I still extracted this very cool use case for
all this can be since I don't use |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've been working on a less intrusive home row modifier that only modifies a specific subset of keys. I'm pretty happy with the result. The layers haven't been fleshed out fully, so expect some updates in the files for that.
I created this because I wanted a fast way to control my tiling window manager (sway), but didn't want it to get in the way of my typing. I already had a layer for
<CAPS>
, and didn't really want to use another modifier key because it felt a bit clunky.My solution: use
f
as a modifier key, but only when pressinghjkl
orsd
with it. On top of this, the layout tries to determined if you rolled the presses (i.e. were typing a word), and if it thinks so it will just type the keys as normal. I have no problem typing very fast with this config. You can see more of the implementation with the extensive comments in the config.hjkl
give an immediate action, whiles
ord
switch to a layer. The layers don't disappear untilf
is unpressed.I don't think this is a perfect solution, and there may be some redundancy in my implementation, but overall I am very happy with it. For most use cases
tap-hold
would probably be enough, but I didn't want to delay the typing for the action key.I do think this works best on letter combos that are pretty infrequent when typing. There's a complicated roll check in the config used just for
l
right now, but I don't think that would work well withs
ord
(because they are layer changes).Even without hjkl, I think the
fsd
config is really quite slick and can be used in some creative ways.The config:
latest, permalink
Beta Was this translation helpful? Give feedback.
All reactions