Code Monkey home page Code Monkey logo

karabiner.d's Introduction

๐ŸŽน Karabiner-Elements Configuration ๐ŸŽน

Created with โค๏ธ by Dr Liang Jin

๐Ÿš€ Quick Start

bash -c "$(curl -fsSL https://raw.githubusercontent.com/drliangjin/karabiner.d/master/tools/install)"

davy_jones

Introduction | Features | Installation | Resources | FAQ


๐Ÿ“œ Introduction

This is my configuration for Karabiner-Elements, a powerful and low-level keyboard manipulation tool. Karabiner is one of the main reasons I choose to stay with macOS while there are too many troubles to implement the same/similar layout in GNU/Linux distributions (I really tried...maybe later...).

โœจ Features

Modifiers

From To Press Alone Device
Ctrl Hyper F17 -
Command Option/Alt F18 Apple Keyboard
Option/Alt Command F19 Apple Keyboard
Caps Lock Ctrl ESC -
Enter Ctrl Enter -
Shift Shift ( ) -

Switchers (mimic Ubuntu Unity)

From To Press Alone Device
Command + Tab Option/Alt + Tab - -
Shift + Command + Tab Shift + Option/Alt + Tab - -

Launchers (mimic Ubuntu Unity)

Dash (mimic Ubuntu Unity)

Editing (mimic Emacs)

Key From To (key_code) Function
Ctrl g NA Cancel
Ctrl w Cut
Ctrl y Paste
Ctrl / Undo
Ctrl s Find
Ctrl d NA Forward Delete Char
Ctrl h NA Backward Delete Char
Ctrl k NA Forward Kill Line
Ctrl u NA Backward Kill Line
Ctrl f Forward Move Char
Ctrl b Backward Move Char
Ctrl n Next Line
Ctrl p Previous Line
Ctrl a Begining of Line
Ctrl e End of Line
Ctrl v Next Page
Ctrl i Indent
Option/Alt g NA
Option/Alt w Copy
Option/Alt y NA
Option/Alt / Redo
Option/Alt d Forward Kill Word
Option/Alt h Backward Kill Word
Option/Alt k Forward Copy Line
Option/Alt u Backward Copy Line
Option/Alt f Forward Move Word
Option/Alt b Backward Move Word
Option/Alt n NA
Option/Alt p NA
Option/Alt a NA
Option/Alt e NA
Option/Alt v Previous Page
Option/Alt i NA

File (mimic Emacs)

From To Press Alone Device
Ctrl z + Option/Alt + Tab - -
Ctrl z + Tab Option/Alt + Tab - -

๐Ÿ› ๏ธ Installation

brew cask install karabiner-elements

๐Ÿ“ข Updates

๐Ÿšง Development

TODO

  • macOS workspace shortcuts (ctrl left_arrow & ctrl right_arrow, ctrl #)
  • macOS dock shortcuts (ctrl F3, then left_arrow or right_arrow to move, return to open an item)
  • implement Tab as a modifier when hold down
  • Ctrl + j and Ctrl + m
  • Cycle clipboard history using Option/Alt + y
  • delete to kill/cut (select text and cut, for words and lines)
  • undo ( Ctrl + / ) and redo ( Option/Alt + / )
  • implement to_if_held_down and to_after_key_up, see complex modifications example
  • implement virtual modifiers using set_variable and variable_if, see virtual-modifier from pqrs.org

๐ŸŽ–๏ธ Acknowledgement

๐Ÿ“– Resources

๐Ÿ™‹โ€โ™€๏ธ FAQ

karabiner.d's People

Contributors

drliangjin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

karabiner.d's Issues

C-s Find

Dear author,
Does Control+s (search) work?
Thanks!

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.