133 lines
5.1 KiB
Nix
133 lines
5.1 KiB
Nix
{
|
||
imports = [ ../../packages/xcompose.nix ];
|
||
|
||
xcompose.sequences = {
|
||
# Spaces
|
||
" " = [ "space" "0" ]; # figure space
|
||
" " = [ "space" "comma" ]; # thin space
|
||
" " = [ "space" "m" ]; # em space
|
||
" " = [ "space" "minus" ]; # non-breaking space
|
||
" " = [ "space" "space" ]; # horizontal tab
|
||
"" = [ "space" "z" ]; # zero-width space
|
||
"" = [ "space" "j" ]; # zero-width non-joiner
|
||
|
||
# Punctuation
|
||
"‽" = [ "exclam" "question" ]; # interrobang
|
||
"′" = [ "grave" "apostrophe" ]; # prime
|
||
"″" = [ "grave" "quotedbl" ]; # double prime
|
||
"»" = [ "greater" "greater" ]; # right double angle quotation mark
|
||
"›" = [ "greater" "period" ]; # right single angle quotation mark
|
||
"«" = [ "less" "less" ]; # left double angle quotation mark
|
||
"‹" = [ "less" "period" ]; # left single angle quotation mark
|
||
"—" = [ "minus" "minus" ]; # em dash
|
||
"–" = [ "minus" "n" ]; # en dash
|
||
"" = [ "minus" "question" ]; # soft hyphen
|
||
"‑" = [ "minus" "semicolon" ]; # non-breaking hyphen
|
||
"°" = [ "o" "o" ]; # degree
|
||
"⋮" = [ "period" "bar" ]; # vertical ellipsis
|
||
"·" = [ "period" "minus" ]; # middle dot
|
||
"…" = [ "period" "period" ]; # horizontal ellipsis
|
||
|
||
# Mathematical operators
|
||
"≈" = [ "asciitilde" "equal" ]; # almost equal to
|
||
"≠" = [ "exclam" "equal" ]; # not equal to
|
||
"≥" = [ "greater" "equal" ]; # greater-than or equal to
|
||
"≤" = [ "less" "equal" ]; # less-than or equal to
|
||
"−" = [ "minus" "0" ]; # minus sign
|
||
"±" = [ "plus" "minus" ]; # plus-minus sign
|
||
"√" = [ "v" "slash" ]; # square root
|
||
"×" = [ "x" "x" ]; # multiplication sign
|
||
|
||
# Geometric symbols
|
||
"↑" = [ "asciicircum" "bar" ]; # up arrow
|
||
"↓" = [ "bar" "v" ]; # down arrow
|
||
"⇒" = [ "equal" "greater" ]; # right double arrow
|
||
"↔" = [ "less" "greater" ]; # left-right arrow
|
||
"←" = [ "less" "minus" ]; # left arrow
|
||
"→" = [ "minus" "greater" ]; # right arrow
|
||
|
||
# Keyboard keys
|
||
"⇮" = [ "a" "g" ]; # AltGr
|
||
"⎇" = [ "a" "l" ]; # Alt
|
||
"⌫" = [ "b" "a" ]; # Backspace
|
||
"⎄" = [ "c" "o" ]; # Compose
|
||
"⎈" = [ "c" "t" ]; # Control
|
||
"⌦" = [ "d" "e" ]; # Delete
|
||
"⎋" = [ "e" "s" ]; # Escape
|
||
"⎙" = [ "p" "r" ]; # Print Screen
|
||
"↵" = [ "r" "e" ]; # Return
|
||
"⇧" = [ "s" "h" ]; # Shift
|
||
"❖" = [ "s" "u" ]; # Super
|
||
"↹" = [ "t" "a" ]; # Tab
|
||
|
||
# Numbers
|
||
"∅" = [ "0" "slash" ]; # null sign
|
||
"π" = [ "p" "i" ]; # pi
|
||
"∞" = [ "8" "8" ]; # infinity
|
||
"½" = [ "1" "2" ]; # one half
|
||
"⅓" = [ "1" "3" ]; # one third
|
||
"⅔" = [ "2" "3" ]; # two thirds
|
||
"¼" = [ "1" "4" ]; # one fourth
|
||
"¾" = [ "3" "4" ]; # three fourths
|
||
"⅕" = [ "1" "5" ]; # one fifth
|
||
"⅖" = [ "2" "5" ]; # two fifths
|
||
"⅗" = [ "3" "5" ]; # three fifths
|
||
"⅘" = [ "4" "5" ]; # four fifths
|
||
"⅙" = [ "1" "6" ]; # one sixth
|
||
"⅚" = [ "5" "6" ]; # five sixths
|
||
"⅐" = [ "1" "7" ]; # one seventh
|
||
"⅛" = [ "1" "8" ]; # one eighth
|
||
"⅜" = [ "3" "8" ]; # three eighths
|
||
"⅝" = [ "5" "8" ]; # five eighths
|
||
"⅞" = [ "7" "8" ]; # seven eighths
|
||
"⅑" = [ "1" "9" ]; # one ninth
|
||
"⅒" = [ "1" "0" ]; # one tenth
|
||
|
||
# Letters and letterlike symbols
|
||
"æ" = [ "a" "e" ]; # ae ligature
|
||
"à" = [ "a" "grave" ]; # a with grave
|
||
"¢" = [ "c" "bar" ]; # cent sign
|
||
"ↄ" = [ "c" "less" ]; # reversed c
|
||
"©" = [ "c" "o" ]; # copyright sign
|
||
"µ" = [ "m" "u" ]; # micro sign
|
||
"ñ" = [ "n" "asciitilde" ]; # n with tilde
|
||
"ø" = [ "o" "slash" ]; # o with stroke
|
||
"¶" = [ "p" "p" ]; # pilcrow sign
|
||
"§" = [ "s" "s" ]; # section sign
|
||
"™" = [ "t" "m" ]; # trade mark sign
|
||
"ü" = [ "u" "colon" ]; # u with diaeresis
|
||
"ꝟ" = [ "v" "slash" ]; # v with stroke
|
||
|
||
# Superscript
|
||
"⁻" = [ "asciicircum" "minus" ]; # superscript minus
|
||
"⁺" = [ "asciicircum" "plus" ]; # superscript plus sign
|
||
"⁰" = [ "asciicircum" "0" ]; # superscript zero
|
||
"¹" = [ "asciicircum" "1" ]; # superscript one
|
||
"²" = [ "asciicircum" "2" ]; # superscript two
|
||
"³" = [ "asciicircum" "3" ]; # superscript three
|
||
"⁴" = [ "asciicircum" "4" ]; # superscript four
|
||
"⁵" = [ "asciicircum" "5" ]; # superscript five
|
||
"⁶" = [ "asciicircum" "6" ]; # superscript six
|
||
"⁷" = [ "asciicircum" "7" ]; # superscript seven
|
||
"⁸" = [ "asciicircum" "8" ]; # superscript eight
|
||
"⁹" = [ "asciicircum" "9" ]; # superscript nine
|
||
"ⁿ" = [ "asciicircum" "n" ]; # superscript n
|
||
|
||
# Subscript
|
||
"₋" = [ "underscore" "minus" ]; # subscript minus
|
||
"₊" = [ "underscore" "plus" ]; # subscript plus sign
|
||
"₀" = [ "underscore" "0" ]; # subscript zero
|
||
"₁" = [ "underscore" "1" ]; # subscript one
|
||
"₂" = [ "underscore" "2" ]; # subscript two
|
||
"₃" = [ "underscore" "3" ]; # subscript three
|
||
"₄" = [ "underscore" "4" ]; # subscript four
|
||
"₅" = [ "underscore" "5" ]; # subscript five
|
||
"₆" = [ "underscore" "6" ]; # subscript six
|
||
"₇" = [ "underscore" "7" ]; # subscript seven
|
||
"₈" = [ "underscore" "8" ]; # subscript eight
|
||
"₉" = [ "underscore" "9" ]; # subscript nine
|
||
|
||
# Snippets
|
||
"https://" = [ "h" "slash" ];
|
||
};
|
||
}
|