pqrs-org / Karabiner-Elements

Karabiner-Elements is a powerful utility for keyboard customization on macOS Sierra (10.12) or later.
https://pqrs.org/osx/karabiner/
The Unlicense
18.31k stars 830 forks source link

Disabling implicit behaviour + karabiner ignores macos modifier mappings #3544

Open reyafyi opened 1 year ago

reyafyi commented 1 year ago

There must be an option to disable or somehow revert/override implicit behaviour. This was mentioned 4 years (!) ago in #1702, but the issue was simply closed as stale.

My case: I'm very used to removing words with opt+backspace, and I have opt and fn switched around in macOS settings. Having it remapped to delete_forward sucks so bad. This prevents be from using karabiner at all.

I tried re-mapping it back with a complex modification like so, but it doesn't work either

{
  "manipulators": [
      {
          "from": {
              "key_code": "delete_forward"
          },
          "to": [
              {
                  "key_code": "delete_or_backspace",
                  "modifiers": [
                      "right_option"
                  ]
              }
          ],
          "type": "basic"
      }
  ]
}

And also karabiner seems to break all my other opt+* bindings (e.g. cmd+opt+space for emoji picker).

macOS modifiers configuration:

image

A workaround I found for everything stated above -- reset macOS modifiers configuration and replicate it within karabiner, like so:

image

This should at least be stated somewhere in the docs, or maybe even better - automatically detect this and convert to karabiner mappings

macOS 13.4, Karabiner 14.12.0

bintoro commented 8 months ago

This should at least be stated somewhere in the docs, or maybe even better - automatically detect this and convert to karabiner mappings

It’s mentioned on the Getting Started page:

Karabiner-Elements ignores the System Settings > Keyboard > Keyboard Shortcuts... > Modifier Keys configuration. Change modifiers by using Simple Modifications.