Compose key on OS X
Shell
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 14 commits ahead, 7 commits behind gnarf:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
DefaultKeyBinding.dict
LICENSE
README.md
install.sh
private.xml

README.md

Compose key on OS X

Adapted from gnarf/osx-compose-key.

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-command on my mac keyboard), and then type something, for instance:

  • [Compose], /, o = ø
  • [Compose], a, e = æ
  • [Compose], ", o = ö

Compose key for multilingual typists

For those that type in multiple languages (that require non-english characters), the compose key can serve an alternative to constantly switching keyboard layouts. The keybindings in this repository cover at least the following languages:

  • Nordic languages
  • German
  • Spanish
  • Catalan

Feel free to submit pull requests for more characters.

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/viis/osx-compose-key/master/private.xml' -o ~/Library/Application\ Support/Karabiner/private.xml
mkdir -p ~/Library/KeyBindings
curl 'https://raw.githubusercontent.com/viis/osx-compose-key/master/DefaultKeyBinding.dict' -o ~/Library/KeyBindings/DefaultKeyBinding.dict

In Karabiner, enable "Send § for Right Command":

screenshot

Your right command key is now a compose key.

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