-
Notifications
You must be signed in to change notification settings - Fork 0
/
yi-matveyev.mim
102 lines (90 loc) · 2.34 KB
/
yi-matveyev.mim
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
;; yi-matveyev.mim -- Yiddish input method with traditional layout
;; Copyright (C) 2020
;; Yoel Matveyev
;; This file is part of the m17n database; a sub-part of the m17n
;; library.
;; The m17n library is free software; you can redistribute it and/or
;; modify it under the terms of the GNU Lesser General Public License
;; as published by the Free Software Foundation; either version 2.1 of
;; the License, or (at your option) any later version.
;; The m17n library is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
;; Lesser General Public License for more details.
;; You should have received a copy of the GNU Lesser General Public
;; License along with the m17n library; if not, write to the Free
;; Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
;; Boston, MA 02110-1301, USA.
;;; Input method for Yiddish based on the traditional typewriter layout.
;;; Unlike some other older methods, this method takes into consideration
;;; frequency of letters and ligatures. For the sake of compatibility
;;; with some software, standard Yiddish ligatures are provided as
;;; character combinations and not as single Unicode characters.
(input-method yi matveyev)
(description
"Yiddish input method based on traditional typewriter layouts and letter frequency.")
(title "ייִדיש")
(map
(letters
("`" ?;)
("q" ?;)
("w" ?,)
("e" ?ק)
("r" ?ר)
("t" ?א)
((S-t) "אַ")
((s-t) "אָ")
("y" ?ט)
("u" ?ו)
((S-u) "וּ")
("i" ?ן)
("o" ?ם)
("p" "פֿ")
((S-p) "פּ")
((s-P) ?פ) ; Both shift and super keys are used to avoid conflict with the <Super>p shortcut
("a" ?ש)
((S-a) "שׂ")
("s" ?ד)
("d" ?ג)
("f" ?כ)
((S-f) "כּ")
("g" ?ע)
("h" ?י)
((S-h) "ײַ")
((s-h) "יִ")
("j" ?ח)
("k" ?ל)
("l" ?ך)
(";" ?ף)
("z" ?ז)
("x" ?ס)
("c" ?ב)
((S-c) "בֿ")
("v" ?ה)
("b" ?נ)
("n" ?מ)
("m" ?צ)
("," ?ת)
((s-,) "תּ") ; Super instead of shift is used to preserve the "<" sign
("." ?ץ)
("/" ?.)
((s-') ?׳)
((s-\") ?״)
("(" ")")
(")" "(")
("<" ">")
(">" "<")
("[" "]")
("]" "[")
("{" "}")
("}" "{")
("-" "־")
("_" "-")
))
(state
(init
(letters)))
;; Local Variables:
;; coding: utf-8
;; mode: lisp
;; End: