Skip to content
This repository was archived by the owner on Apr 25, 2024. It is now read-only.
This repository was 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

@katerlouis

Description

@katerlouis

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions