Git Product home page Git Product logo

hotkeys's Introduction

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
Control + Esc ` Backtick
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

hotkeys's People

Contributors

beta avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.