Skip to content
/ hotkeys Public

AutoHotkey/Karabiner scripts for some hotkeys I frequently use.

License

Notifications You must be signed in to change notification settings

beta/hotkeys

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hotkeys

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:

  1. A "CapsLock Hack" that use CapsLock as a modifier key, for example, CapsLock + I/J/K/L will function as the arrow keys.
  2. Some hotkeys made for ikbc Poker keyboards, as there's no F1-F12 row nor a backtick/tilde (`/~) key.
  3. Some hotkeys made for my own use.

AutoHotkey is used for Windows, and Karabiner Elements is used for macOS.

Hotkeys overview

Installation

For Windows: download and run a prebuilt binary from the releases page.

For macOS:

  1. Install Karabiner Elements.

  2. Use Karabiner Elements to map CapsLock to Right Ctrl.

  3. 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
    

CapsLock Hacks

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

Poker Hacks

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

Beta's Own Hotkeys

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 AltLeft Ctrl
  • Left WinLeft Alt
  • Left CtrlLeft 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)

License

MIT