Use variable for the hyper-key #16
Locked
kaspersoerensen
started this conversation in
Ideas
Replies: 1 comment 10 replies
-
|
Oh damn, the variable hyperkey making Shift to highlight words work is genius! Let me try that as well and see if I can notice any issues. Thanks for the note. |
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there,
I have been playing around with this for a bit, and find it very useful. I do have some issues with the way the arrow keys are defined: when using the
Vlayer to navigate, I cannot hold down ⇧ Shift to highlight words. To get around this, i defined a variable calledhyperand used that instead of the modifier keys. That seems to work pretty well ( see this commit ).I also copied the
createHyperSubLayerandcreateHyperSubLayersfunctions and simplified (removed) the part that takes care of the sublayer functionality. This allows me to hold down the Caps Lock key and use just one key, to execute a command. I use this for the arrow functions.I have no experience with TypeScript - so the implementation could be improved (maybe overloading the
createHyperSubLayerandcreateHyperSubLayersfunctions with fewer inputs?).Maybe this can be useful for someone else?
Beta Was this translation helpful? Give feedback.
All reactions