Karabiner-elements: Using VimMode modifiers (HJKL + ctrl = arrow keys) with other modifiers at the same time.

Created on 20 Feb 2018  路  2Comments  路  Source: pqrs-org/Karabiner-Elements

Okay so I've got the following complex modifications on.

screen shot 2018-02-20 at 2 48 27 pm

I love being able to navigate with ctrl (which i have remapped to capslock) and HJKL. However, if I try and use these keys with an additional modifier, they do not work.

For example, I would like to be able to jump to the bottom of the page. Normally this would be done with CMD+DOWNARROW. I want to do it with the J key acting as the down arrow. However when i type CMD+CTRL+J, nothing happens.

Is there a way to get this to work?

Edit: I got these modifications from https://pqrs.org/osx/karabiner/complex_modifications/

Most helpful comment

I think that's because the "Vi Style Arrows" rules have the optional parameter set to "caps_lock" meaning that's the only other key that can be pressed with the remapped arrows.

It looks like you could also just import the "Vi Mode, left_control + hjkl. shift/option/command + arrow working" rules and get what you want.

Or you can modify this file:
~/.config/karabiner/karabiner.json

And set the optional parameter from "caps_lock" to "any" or whatever keys you want it to work with.

All 2 comments

I think that's because the "Vi Style Arrows" rules have the optional parameter set to "caps_lock" meaning that's the only other key that can be pressed with the remapped arrows.

It looks like you could also just import the "Vi Mode, left_control + hjkl. shift/option/command + arrow working" rules and get what you want.

Or you can modify this file:
~/.config/karabiner/karabiner.json

And set the optional parameter from "caps_lock" to "any" or whatever keys you want it to work with.

Yeah this modification does exactly what I want. Thank you very much!

Was this page helpful?
0 / 5 - 0 ratings