Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Oneechan69

macrumors 6502
Original poster
Im having the issue on Karabiner Elements where key-bindings using the ctrl key don't work, like reported by other users https://github.com/pqrs-org/Karabiner-Elements/issues/4354. I'm trying to use this complex workflow: CTRL + h j k l for arrow key movement but its not working for me, instead <span>ctrl + h</span> deletes the character to the left of the cursor as specified in the keyboard shortcuts documentation (and idk how to disable that). My keyboard is a Logitech G710+ btw.

JSON:
{
  "title": "Left ctrl + hjkl to Arrow Keys Vim",
  "rules": [
    {
      "description": "Left ctrl + hjkl to arrow keys Vim",
      "manipulators": [
        {
          "from": {
            "key_code": "h",
            "modifiers": {
              "mandatory": ["left_control"],
              "optional": ["any"]
            }
          },
          "to": [
            {
              "key_code": "left_arrow"
            }
          ],
          "type": "basic"
        },
        {
          "from": {
            "key_code": "j",
            "modifiers": {
              "mandatory": ["left_control"],
              "optional": ["any"]
            }
          },
          "to": [
            {
              "key_code": "down_arrow"
            }
          ],
          "type": "basic"
        },
        {
          "from": {
            "key_code": "k",
            "modifiers": {
              "mandatory": ["left_control"],
              "optional": ["any"]
            }
          },
          "to": [
            {
              "key_code": "up_arrow"
            }
          ],
          "type": "basic"
        },
        {
          "from": {
            "key_code": "l",
            "modifiers": {
              "mandatory": ["left_control"],
              "optional": ["any"]
            }
          },
          "to": [
            {
              "key_code": "right_arrow"
            }
          ],
          "type": "basic"
        }
      ]
    }
  ]
}
 
I think the issue may have been due to storing the karabiner config folder in chezmoi and automatically applying it to ~/.config/karabiner. I removed the folder from chezmoi (moving ~/.local/share/chezmoi/dot_config/karabiner), pasting it into ~/.config manually, making changes, then putting it back in chezmoi. Maybe updating to macOS 26.5 (which came out today) helped as well?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.