Skip to content

If you remap OPTION+TAB to CMD+TAB, moving mouse while holding OPTION cancels the task selection #2642

Open
@kbirger

Description

@kbirger

I'm not sure how to describe this any better. I've created a rule like this:

{
                        "description": "alt tab",
                        "manipulators": [
                            {
                                "from": {
                                    "key_code": "tab",
                                    "modifiers": {
                                        "mandatory": [
                                            "option"
                                        ],
                                        "optional": [
                                            "any"
                                        ]
                                    }
                                },
                                "to": [
                                    {
                                        "key_code": "tab",
                                        "modifiers": "command"
                                    }
                                ],
                                "type": "basic"
                            }
                        ]
                    }
}

It is to allow me to use ALT+TAB (mapped to OPTION+TAB) on my Windows (us-101) keyboard instead of CMD+TAB. It works fairly well, but if press ALT+TAB and move my mouse, it cancels the window switcher.

This same behavior happens for other multi-key combinations that involve holding down keys.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions