Closed sohanemon closed 1 month ago
pressing alt together with innernav innernav (multi lalt (layer-toggle inner-nav_layer))
will simplify the problem to just get rid of lalt where it is not needed.
C-t becomes (multi lctl (unmod (lalt) t))
or (multi (unmod (lalt) lctl) (unmod (lalt) t))
not sure.
There is also a more complex route to solve this by assigning lalt to a virtual key (it was in one of the example .kbd files)
I do not understand the virtual key configs well. But i tried to unmod and send a key stroke with a specific modifier key like this (unmod C-t)
. I know I am wrong here. Can you suggest how can I reach my goal? I am newbie with kanata.
(deflayer inner-nav_layer
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _
M-tab _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ (unmod C-t) C-l _ _ _ A-left C-pgdn C-pgup A-right _ _ _
_ _ C-w _ A-v _ _ _ _ _ _ _
_ _ _ A-spc _ _ _
)
After trying a lot I find a solution with this:
(deflayer inner-nav_layer
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _
M-tab _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ (unmod lctl t) (unmod lctl l) _ _ _ left C-pgdn C-pgup right _ _ _
_ _ (unmod lctl w) _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _
)
But if i use (unmod lctl pgdn)
its throwing error. What could be the mistake?
This issue is fixed. I found a workaround. but if you suggest any better approach that would be much appreciated
Discussed in https://github.com/jtroo/kanata/discussions/1275