New file.
authorntakahas <ntakahas>
Fri, 3 Apr 2009 09:55:16 +0000 (09:55 +0000)
committerntakahas <ntakahas>
Fri, 3 Apr 2009 09:55:16 +0000 (09:55 +0000)
im/zh-pinyin-vi.mim [new file with mode: 0644]

diff --git a/im/zh-pinyin-vi.mim b/im/zh-pinyin-vi.mim
new file mode 100644 (file)
index 0000000..41b0053
--- /dev/null
@@ -0,0 +1,24 @@
+;;Created by:Trần Ngọc Quân
+;;Email: vnwildman@gmai.com
+;; zh-pinyin-vi.mim -- Input method for Chinese Pinyin characters using "s" for second tone "r" for the third tone, "j" and "f" for the fourth and fifth tone.
+
+(input-method zh pinyin-vi)
+
+(description "Input method for Chinese Pinyin characters.Note that it's not for inputting Han characters.")
+
+(title "PinYinVi")
+
+(map
+ (tone
+  ("j" (select 1))
+  ("s" (select 2))
+  ("r" (select 3))
+  ("f" (select 4))))
+
+(include (zh pinyin) map vowel)
+
+(state
+ (init
+  (vowel (shift select)))
+ (select
+  (tone (shift init))))