Can someone help me understand how to define and use chords? #801
-
Hey everyone, I have a very specific and (I think) simple use case for Kanata. I would like to be able to press the Tab key to tab, but hold the Tab key and press a number on the top row to Tab that number of times. TL;DR: How do I accomplish the above using chords? So far I've already defined my macros in the format of Unfortunately, I've now been banging my head against this config file trying to learn how chords work. I've read kanata.kbd and config.adoc at least half a dozen times each plus a few sample configs in the discussions, and have tried copy/pasting and making modifications but have not had the "aha" moment yet. Using
results in So I bound that to my Tab key in the default layer, but got an error about the numbers not being bound. Out of desperation just to get the config to parse, I bound those to my numbers in the default layer, and it finally parses but now my tab and number keys only work as chords and not as the original keys. Halfway expected that at least, which is why I didn't try it from the start. Perhaps the "arbitrary labels" part of this is throwing me off?:
On top of the "arbitrary label" confusion: if all input chord options need to be bound somewhere, I'm not sure what the benefit of chords even is. If I need to make another layer just to put my chords in there, then wouldn't using layers be the solution anyway and I would bind the macro directly? Anyway, I apologize for rambling through my confusion. Maybe chords just don't work how I am expecting and it's making it impossible for me to understand the config. There's so much to clear up that it might be a much easier start for someone to just throw the answer at me instead of trying to help me understand where I've gone wrong (though I would greatly appreciate it, as I think learning Kanata could open up a lot of efficiencies for me!) Here is where my (obviously erroneous) config stands now:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
sounds like a job for tap-hold, not chords |
Beta Was this translation helpful? Give feedback.
specifically take a look at
tap-hold-press
, I use this one myself on Tab for tap-hold functionality and the experience is seamless