Skip to content
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.

CAPS + IJKL to Arrow keys + A to Shift to make selection #886

Open
katerlouis opened this issue Jun 26, 2019 · 0 comments
Open

CAPS + IJKL to Arrow keys + A to Shift to make selection #886

katerlouis opened this issue Jun 26, 2019 · 0 comments

Comments

@katerlouis
Copy link

katerlouis commented Jun 26, 2019

an IJKL is truly awesome.
Selecting text however is a real pain– Caps + Shift is just not doable for my little finger.
So I thought: why not map the A-key to Shift – but of course only when Caps is pressed.

I tried multiple approaches:

But wanna stick to Caps to Fn, because that leaves the modifiers untouched; so no need to map them manually (it appears that's necessary when using Hyper)

These work great:

"manipulators": [
    {"type": "basic", "from": {"key_code": "i", "modifiers": {"mandatory": ["fn"], "optional": ["any"]}}, "to": [{"key_code": "up_arrow"}] },
    {"type": "basic", "from": {"key_code": "j", "modifiers": {"mandatory": ["fn"], "optional": ["any"]}}, "to": [{"key_code": "left_arrow"}]},
    {"type": "basic", "from": {"key_code": "k", "modifiers": {"mandatory": ["fn"], "optional": ["any"]}}, "to": [{"key_code": "down_arrow"}]},
    {"type": "basic", "from": {"key_code": "l", "modifiers": {"mandatory": ["fn"], "optional": ["any"]}}, "to": [{"key_code": "right_arrow"}]}
]

With this one combined, when I press: CAPS+A+J, I get a capital J, not the expected selection to the left

 {"type": "basic", "from": {"key_code": "a", "modifiers": {"mandatory": ["fn"], "optional": ["any"]}}, "to": [{"key_code": "left_shift"}] }

And this one does only move the caret, when I Press CAPS+A+J; A is not having an effect here

 {"type": "basic", "from": {"key_code": "a", "modifiers": {"mandatory": ["fn"], "optional": ["any"]}}, "to": [{"key_code": "vk_none", "modifiers": ["left_shift"] }] }

What am I missing?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant