summaryrefslogtreecommitdiffstats
path: root/runtime/keymap/pinyin.vim
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/keymap/pinyin.vim')
-rw-r--r--runtime/keymap/pinyin.vim54
1 files changed, 54 insertions, 0 deletions
diff --git a/runtime/keymap/pinyin.vim b/runtime/keymap/pinyin.vim
new file mode 100644
index 0000000..253814c
--- /dev/null
+++ b/runtime/keymap/pinyin.vim
@@ -0,0 +1,54 @@
+" Vim Keymap file for Hanyu Pinyin tone marks through numbers.
+" Maintainer: Fredrik Roubert <fredrik@roubert.name>
+" Last Changed: February 15, 2004
+
+" All characters are given literally.
+scriptencoding utf-8
+
+" Use this short name in the status line.
+let b:keymap_name = "py"
+
+loadkeymap
+a0 a
+a1 ā
+a2 á
+a3 ǎ
+a4 à
+a5 a
+e0 e
+e1 ē
+e2 é
+e3 ě
+e4 è
+e5 e
+i0 i
+i1 ī
+i2 í
+i3 ǐ
+i4 ì
+i5 i
+o0 o
+o1 ō
+o2 ó
+o3 ǒ
+o4 ò
+o5 o
+u0 u
+u1 ū
+u2 ú
+u3 ǔ
+u4 ù
+u5 u
+ü0 ü
+ü1 ǖ
+ü2 ǘ
+ü3 ǚ
+ü4 ǜ
+ü5 ü
+v0 ü
+v1 ǖ
+v2 ǘ
+v3 ǚ
+v4 ǜ
+v5 ü
+