Skip to content

Instantly share code, notes, and snippets.

@MerlinSmiles
Created June 10, 2020 07:51
Show Gist options
  • Save MerlinSmiles/e7b7fa03d12fa3f17e9ba80725ea7c8b to your computer and use it in GitHub Desktop.
Save MerlinSmiles/e7b7fa03d12fa3f17e9ba80725ea7c8b to your computer and use it in GitHub Desktop.
# for Emacs: -*- coding: utf-8 -*-
#
# User-defined key sequences for WinCompose
# by Sam Hocevar <sam@hocevar.net>
#
# Key sequences have the following form:
#
# <Multi_key> <key>… : "resulting text"
#
# All key names must be enclosed in <angle brackets>.
# The first key must be <Multi_key>.
# The remaining keys can be single characters, like <a>, <B>, <7>,
# <.>, <@>, or from the following list:
#
# Up, Down, Left, Right (the arrow keys), space, exclam, quotedbl,
# numbersign, dollar, percent, ampersand, apostrophe, parenleft,
# parenright, asterisk, plus, comma, minus, period, slash, colon,
# semicolon, less, equal, greater, at, bracketleft, backslash,
# bracketright, asciicircum, underscore, grave, braceleft, bar,
# braceright, asciitilde.
#
# For more definitions, see the files in C:\Program Files\WinCompose\res.
# <Multi_key> <h> <w> : "Hello, world!"
# Konami code
# <Multi_key> <Multi_key> <Up> <Up> <Down> <Down> <Left> <Right> <Left> <Right> <b> <a> : "ᕙ༼ຈل͜ຈ༽ᕗ" # Mighty Donger
# Russian Ruble sign
# <Multi_key> <P> <minus> : "₽" U20bd # RUBLE SIGN
# <Multi_key> <p> <minus> : "₽" U20bd # RUBLE SIGN
# Minus sign
# <Multi_key> <minus> <minus> <equal> : "−" U2212 # MINUS SIGN
# Various tests
# <Multi_key> <t> <f> : "(ノಥ益ಥ)ノ彡┻━┻" # Table flip like a boss
# <Multi_key> <l> <f> : "( ͡° ͜ʖ ͡°)" # Lenny face
# <Multi_key> <s> <f> : "¯\\_(ツ)_/¯" # Shrug face
<Multi_key> <;> : "æ"
<Multi_key> <'> : "ø"
<Multi_key> <[> : "å"
<Multi_key> <:> : "Æ"
<Multi_key> <"> : "Ø"
<Multi_key> <{> : "Å"
<Multi_key> <a> : "ä"
<Multi_key> <o> : "ö"
<Multi_key> <u> : "ü"
<Multi_key> <s> : "ß"
<Multi_key> <A> : "Ä"
<Multi_key> <O> : "Ö"
<Multi_key> <U> : "Ü"
<Multi_key> <S> : "ß"
<Multi_key> <e> : "€"
<Multi_key> <5> : "€"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment