Inspired by vi like editor keybindings, these Karabiner elements configurations have more or less saved my life, YMMV!
With right shift as modifier unless mentioned..
From | To |
---|---|
h/j/k/l | arrow keys |
w/b | word forward/back |
a/e | home/end |
p/; | page up/down |
From | To |
---|---|
s/c/v/x/z/t/i | send with cmd |
m | return |
f/d | delete/backspace |
space | tab |
From | To |
---|---|
cmd+space | escape |
y | cmd+w (close tab) |
u/o | cmd+shift+[/] (switch tab) |
g | cmd+l (focus address bar) |
Have included some extra mappings I find useful in src/extras
, install using --with-extras
below, some descriptions:
From | To |
---|---|
"+left_shift | double quote wrap selection |
q+left_shift | single quote |
q | single quote wrap selection |
i | ./ |
i+left_shift | ../ |
` | ~/ |
Install Karabiner elements, then..
clone https://github.com/tom-power/right-shift-vi-like-karabiner.git &&
cd ./right-shift-vi-like-karabiner &&
sh/install.sh [--with-extras]
Alternatively, import the modifications from Karabiner-Elements site rules.
For both methods the rules will need to be loaded in the Karabiner elements UI:
Preferences -> Complex Modifications -> Add rule -> right shift vi like -> Enable all
Suggest to bind capslock to left cmd too:
Preferences -> Simple Modifications -> Add item -> from -> caps_lock -> to -> left_cmd