Skip to content

Instantly share code, notes, and snippets.

@kaubu
Last active December 1, 2023 03:08
Show Gist options
  • Save kaubu/80c633a8d8b4f14cab08c0ba64c5e9cf to your computer and use it in GitHub Desktop.
Save kaubu/80c633a8d8b4f14cab08c0ba64c5e9cf to your computer and use it in GitHub Desktop.
Keybindings for WinCompose
# for Emacs: -*- coding: utf-8 -*-
#
# User-defined key sequences for WinCompose
# by Sam Hocevar <[email protected]>
#
# 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
# Custom stuff
<Multi_key> <v> <'> : "v́"
<Multi_key> <'> <v> : "v́"
<Multi_key> <V> <'> : "V́"
<Multi_key> <'> <V> : "V́"
<Multi_key> <h> <.> : "ḣ"
<Multi_key> <.> <h> : "ḣ"
<Multi_key> <H> <.> : "Ḣ"
<Multi_key> <.> <H> : "Ḣ"
<Multi_key> <x> <'> : "x́"
<Multi_key> <'> <x> : "x́"
<Multi_key> <X> <'> : "X́"
<Multi_key> <'> <X> : "X́"
<Multi_key> <x> <`> : "x̀"
<Multi_key> <`> <x> : "x̀"
<Multi_key> <X> <`> : "X̀"
<Multi_key> <`> <X> : "X̀"
<Multi_key> <x> <.> : "ẋ"
<Multi_key> <.> <x> : "ẋ"
<Multi_key> <X> <.> : "ẋ"
<Multi_key> <.> <X> : "ẋ"
<Multi_key> <x> <"> : "ẍ"
<Multi_key> <"> <x> : "ẍ"
<Multi_key> <X> <"> : "ẍ"
<Multi_key> <"> <X> : "ẍ"
# English
<Multi_key> <W> <W> : "Ƿ"
<Multi_key> <w> <w> : "ƿ"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment