This repo contains the configurations for some hotkeys I frequently use, in order to achieve a universal experience across different platforms. Three parts are included:
- A "CapsLock Hack" that use CapsLock as a modifier key, for example, CapsLock + I/J/K/L will function as the arrow keys.
- Some hotkeys made for ikbc Poker keyboards, as there's no F1-F12 row nor a backtick/tilde (`/~) key.
- Some hotkeys made for my own use.
AutoHotkey is used for Windows, and Karabiner Elements is used for macOS.
For Windows: download and run a prebuilt binary from the releases page.
For macOS:
-
Install Karabiner Elements.
-
Use Karabiner Elements to map CapsLock to Right Ctrl.
-
Open the URL(s) below in the browser to import the hotkeys.
CapsLock Hacks: karabiner://karabiner/assets/complex_modifications/import?url=https%3A%2F%2Fraw.githubusercontent.com%2Fbeta%2Fhotkeys%2Fmaster%2Fkarabiner%2Fcapslock_hack.json Poker Hacks: karabiner://karabiner/assets/complex_modifications/import?url=https%3A%2F%2Fraw.githubusercontent.com%2Fbeta%2Fhotkeys%2Fmaster%2Fkarabiner%2Fpoker.json
| Hotkey | Maps to | Description |
|---|---|---|
| CapsLock + I | ↑ | Arrow up |
| CapsLock + J | ← | Arrow left |
| CapsLock + K | ↓ | Arrow down |
| CapsLock + L | → | Arrow right |
| CapsLock + Shift + I | Shift + ↑ | Select up |
| CapsLock + Shift + J | Shift + ← | Select left |
| CapsLock + Shift + K | Shift + ↓ | Select down |
| CapsLock + Shift + L | Shift + → | Select right |
| CapsLock + Alt + J | Ctrl + ← | (Windows only) Jump a word left |
| CapsLock + Alt + L | Ctrl + → | (Windows only) Jump a word right |
| CapsLock + Shift + Alt + J | Ctrl + ← | (Windows only) Select a word left |
| CapsLock + Shift + Alt + L | Ctrl + → | (Windows only) Select a word right |
| CapsLock + U | Home | Home |
| CapsLock + O | End | End |
| CapsLock + Y | PageUp | Page up |
| CapsLock + H | PageDown | Page down |
| CapsLock + Backspace | Ctrl + Backspace | Delete a word |
| CapsLock + Ctrl + Backspace | - | (Windows only) Delete a line |
| Hotkey | Maps to | Description |
|---|---|---|
| Left Command + Esc | Left Command + ` | (macOS only) Switch between windows of an app |
| Right Control + Esc | ` | Backtick |
| Left Shift + Esc | ~ | (macOS only) Tilde |
| CapsLock + 0-9/-/= | F1-F12 | Function keys |
Currently the hotkeys below are for Windows only, and require that the 3 left modifier keys are exchanged (I've done this with SharpKeys):
- Left Alt → Left Ctrl
- Left Win → Left Alt
- Left Ctrl → Left Win
| Hotkey | Maps to | Description |
|---|---|---|
| CapsLock + [ | 「 |
(Windows only) Chinese single quote |
| CapsLock + ] | 」 |
(Windows only) Chinese single quote |
| CapsLock + Shift + [ | 『 |
(Windows only) Chinese double quote |
| CapsLock + Shift + ] | 』 |
(Windows only) Chinese double quote |
| Left Ctrl + Q | Alt + F4 | (Windows only) Close window |
| Left Ctrl + Tab | Alt + Tab | (Windows only) Switch between windows |
| Left Ctrl + Shift + Tab | Alt + Shift + Tab | (Windows only) Switch between windows backwards |
| Left Alt + Tab | Disabled | |
| Left Win + Tab | Ctrl + Tab | (Windows only) Switch between tabs |
| Left Win + Shift + Tab | Ctrl + Shift + Tab | (Windows only) Switch between tabs backwards |
| Left Ctrl + Space | Win + Space | (Windows only) Switch between input languages |
| Left Win + Space | Ctrl + Space | (Windows only) |
MIT
