Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vscode complex_modifications not working #3814

Open
rickalex21 opened this issue May 13, 2024 · 0 comments
Open

vscode complex_modifications not working #3814

rickalex21 opened this issue May 13, 2024 · 0 comments

Comments

@rickalex21
Copy link

Hello,

Thanks for all the great work.

My complex modifications seem to work fine on kitty and Emacs but for some reason they
are not working on VSCODE.

{
  "title": "Swap Command and Control for Apps",
  "rules": [
    {
      "description": "Swap Control -> Command for Apps",
      "manipulators": [
        {
          "type": "basic",
          "from": {
            "key_code": "left_control",
            "modifiers": {
              "optional": [
                "any"
              ]
            }
          },
          "to": [
            {
              "key_code": "left_command"
            }
          ],
          "conditions": [
            {
              "type": "frontmost_application_if",
              "bundle_identifiers": [
                "^net\\.kovidgoyal\\.kitty$",
                "^com\\.microsoft\\.VSCode$",
                "^md\\.obsidian$",
                "org\\.gnu\\.Emacs$"
              ]
            }
          ]
        }
      ]
    },
    {
      "description": "Swap Command -> Control for Apps",
      "manipulators": [
        {
          "type": "basic",
          "from": {
            "key_code": "left_command",
            "modifiers": {
              "optional": [
                "any"
              ]
            }
          },
          "to": [
            {
              "key_code": "left_control"
            }
          ],
          "conditions": [
            {
              "type": "frontmost_application_if",
              "bundle_identifiers": [
                "^net\\.kovidgoyal\\.kitty$",
                "^com\\.microsoft\\.VSCode$",
                "^md\\.obsidian$",
                "org\\.gnu\\.Emacs$"
              ]
            }
          ]
        }
      ]
    }
  ]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant