kanata numpad: add operators
Hi,
For use in a calculator or spreadsheet, I would expect basic operators to be available. And numpad layer has enough space for those, so here is a simple proposition.
Hey! I totally agree, the current numpad is no match for a physical one. And the numrow layer has a similar limitation (no = and %).
Here’s what I will dogfood for some time, building on your proposal:
-XX home up end pgup @/ @7 @8 @9 XX
-XX lft down rght pgdn @- @4 @5 @6 @0
-@/ @* @- @+ @= _ @, @1 @2 @3 @.
+XX home up end pgup @/ @7 @8 @9 XX
+bspc lft down rght pgdn @- @4 @5 @6 @0
+@= @% @* @: @+ _ @, @1 @2 @3 @.
-
:on[V]: it makes typing hours in theXX:XXformat easier -
-on[H]: IMO the existing Arsenik numpad did a great job positioning-; it is often used (e.g. dates inXXXX-XX-XXformat), thus under a strong finger -
+on[B]: making this symbol accessible via an extension of the index finger makes it similar to the positioning of- -
%on[X]and*on[C]: no actual rationale for those, but I certainly prefer having*at a better slot than% -
bspcon[A]: a game changer when using the numpad extensively
Thanks, I’ll try this too :)
XXon[Z]: it is impossible to press this intap-hold-pressmode (using alayer-switchit is fine but Arsenik doesn’t implement that yet)
I just don't understand this: it works for me. But it is no needed anyways.
NB: I made another commit to allow easy referencing different version, but if this PR is merged, those should be squashed I think.
@nim65s oh you’re right, my bad! The layer-switch and layer-while-held features got mixed up in my mind and I wrongly assumed that Arsenik was only implementing the latter (it’s the other way around)…