Is it possible to set up cmd with h, j, k, l as in Vim (but using with cmd) as arrow keys for cursor movement?

  • unfortunately current time of writing there is no way to do it other than third party plugins. I don't know any plugin which can provide this function.
    – Rishon_JR
    Jul 19, 2022 at 6:25
  • 2
    Karabinier can do this. The installable options include several mappings to do this.
    – mmmmmm
    Jul 19, 2022 at 11:13

1 Answer 1


With Karabiner-Elements, you can import a complex_modifications rule named Left ctrl + hjkl to Arrow Keys Vim, it enables that:

Left ctrl + hjkl to arrow keys Vim

Cmd-h/j/k/l may not be a good idea, because almost all of the Cmd-* are used by the system and apps, e.g. Cmd-H is a system shortcut to hide the current app, Ctrl would be better. However, if you don't need the system/app shortcuts, you can custom the rule like this.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .