GithubHelp home page GithubHelp logo

osx-compose-key's Introduction

What is a compose key?

A "compose" key is an input method used for complex characters. It allows you to press your compose key (I bind mine to right-alt on my mac keyboard), and then type something, for instance:

  • [Compose], +, 1 = 👍
  • [Compose], s, h, r, u, g = ¯\_(ツ)_/¯

This repo contains my compose key setup but should easily allow you to create your own powerful compositions. The DefaultKeyBinding.dict file contains a tree of "composition". I entertain pull requests to add new shortcuts you feel are important to your day to day.

You can read more about it on the blog that inspired this setup.

Setting up a "Compose Key" in Mac OS X

Install Karabiner for remapping keys support, and download these files into the correct places:

brew cask install karabiner
mkdir -p ~/Library/Application\ Support/Karabiner
curl 'https://raw.githubusercontent.com/gnarf/osx-compose-key/master/private.xml' -o ~/Library/Application\ Support/Karabiner/private.xml
mkdir -p ~/Library/KeyBindings
curl 'https://raw.githubusercontent.com/gnarf/osx-compose-key/master/DefaultKeyBinding.dict' -o ~/Library/KeyBindings/DefaultKeyBinding.dict

In Karabiner, enable "Send § for Right Option" (or right command if you use right alt):

screenshot

Note: changes to ~/Library/KeyBindings/DefaultKeyBinding.dict require quitting and restarting any apps you want to test them in.

osx-compose-key's People

Contributors

gnarf avatar cowboy 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.