This repo includes custom complex modification rules for karabiner-elements to customize key strokes.
The CapsLock key is modified to be used as a virtual modifier and in order to use the virtual modifier, the mandatory rules MUST be enabled.
The following keys are used as virtual modifiers.
The following modes can be enabled by hitting extra dedicated keys while CapsLock is pressed.
- Launcher mode : Enter
- Window control mode : Right command
- Mouse key mode : Right shift
The detailed instructions can be found in karabiner-elements.
In order to import the rules, fill <Rule URL>
and open the link in a web browser.
karabiner://karabiner/assets/complex_modifications/import?url=<Rule URL>
Or
The ruleset files can directly be copied under
$HOME/.config/karabiner/assets/complex_modifications/
Rule URLs can be copied from the following list.
The following keys are modified while the Capslock key is being pressed.
e.g. CAPSLOCK(pressed) + i -> Arrow Up
FROM |
TO |
CapsLock |
Virtual Modifier |
5 |
CapsLock |
FROM |
TO |
i |
Arrow up |
j |
Arrow left |
k |
Arrow down |
l |
Arrow right |
FROM |
TO |
x |
Delete |
X |
Delete foward |
FROM |
TO |
b |
Page up |
f |
Page down |
FROM |
TO |
Open bracket([) |
Move left tab (CMD+SHIFT+[) |
Close bracket(]) |
Move right tab (CMD+SHIFT+]) |
FROM |
TO |
y |
Redo (CMD+SHIFT+z) |
FROM |
TO |
q |
CMD + q |
CMD + w |
CMD + SHIFT + w |
w |
CMD + w |
r |
CMD + r |
CMD + t |
CMD + SHIFT + t |
t |
CMD + t |
a |
CMD + a |
s |
CMD + s |
z |
CMD + z |
c |
CMD + c |
v |
CMD + v |
0 |
CMD + 0 |
hypen(-) |
CMD + - |
equal(=) |
CMD + = |
Extra
FROM |
TO |
9 |
Next window |
Tab |
SHIFT+Tab |
t |
Get Plain Text (cmd-shift-k) |
Shift-Space |
Language change unless rdp or vm (Control-Space) |
The launcher mode can be initiated by striking enter while the capslock key is being pressed.
e.g. CAPSLOCK(pressed) + ENTER(down/up) + c -> open Chrome
FROM |
Application |
1 |
1Password |
c |
Chrome |
d |
Dock (CTRL + f3) |
e |
Kiwi |
f |
Finder |
i |
Safari |
j |
Joplin |
k |
KakaoTalk |
m |
Music |
p |
System Preferences |
r |
Microsoft Remote Desktop |
s |
Slack |
t |
iTerm |
v |
VSCode |
The Mouse Key Mode can be initiated by striking right shift key while the capslock key is being pressed.
FROM |
TO |
k |
Move cursor up |
h |
Move cursor left |
j |
Move cursor down |
l |
Move cursor right |
FROM |
TO |
b |
Scroll up |
f |
Scroll down |
FROM |
TO |
w,; |
Left click |
e |
CMD + Left click |
r,' |
Right click |
The speed will change while pressing the following keys.
FROM |
TO |
s |
Slower cursor speed |
d |
Faster cursor speed |
FROM |
TO |
, |
Prev Page |
. |
Next Page |
FROM |
TO |
Shift-Space |
Control-Space |
Ctrl+C, Ctrl+P, Ctrl+X |
Cmd+C (Copy), Cmd+v (Paste), Cmd+X (Cut) |
Ctrl+Z |
Cmd+Z (Undo) |
Ctrl+Y |
Cmd+Shift+Y (Redo) |
Ctrl+A |
Cmd+A (Select all) |
Ctrl+S |
Cmd+S (Save) |
Ctrl+N |
Cmd+N (New) |
Ctrl+F |
Cmd+F (Find) |
Ctrl+W |
Cmd+W (Close) |
Alt+F4 |
Cmd+Q (Exit application) |
Ctrl+T |
Cmd+T (New tab) |
Ctrl+L |
Cmd+L (Open url location) (Only in browsers) |
Cmd+L |
Ctrl+L (Open url location) (Only in windows) |
F5 |
Cmd+r (Reload) |
Ctrl+Shift+Esc |
Open Activity Monitor |
Return |
Cmd+o (Open) (Only in Finder) |
F2 |
Return (Rename) (Only in Finder) |
Delete |
Cmd+backspace (Delete) (Only in Finder) |
Backspace |
Cmd+up (Go back) (Only in Finder) |