summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--runtime/keymap/sinhala-phonetic_utf-8.vim106
1 files changed, 106 insertions, 0 deletions
diff --git a/runtime/keymap/sinhala-phonetic_utf-8.vim b/runtime/keymap/sinhala-phonetic_utf-8.vim
new file mode 100644
index 000000000..1f7718ac0
--- /dev/null
+++ b/runtime/keymap/sinhala-phonetic_utf-8.vim
@@ -0,0 +1,106 @@
+" Vim Keymap file for Sinhala (Sri Lanka) (2003-11-02)
+" Maintainer : Harshula Jayasuriya <hash@jayasolutions.cjb.net>
+" Last Updated: 2004-10-10
+" This is a static phonetic mapping for a standard US-English keyboard
+" (qwerty)
+" http://www.nongnu.org/sinhala/doc/keymaps/sinhala-keyboard_3.html
+
+" Copy the keymap to ~/.vim/keymap/
+" Start gvim
+" Need to disable the menu so that you can use the 'alt' key.
+" set guioptions-=m
+" Select the new keymap
+" set keymap=sinhala-phonetic_utf-8
+
+
+loadkeymap
+V <char-0x0d82> " ං - anusvaraya (anusvara)
+<A-v> <char-0x0d83> " ඃ - visargaya (visarga)
+a <char-0x0d85> " අ - ayanna (a)
+A <char-0x0d86> " ආ - aayanna (aa)
+w <char-0x0d87> " ඇ - aeyanna (ae)
+W <char-0x0d88> " ඈ - aeeyanna (aee)
+i <char-0x0d89> " ඉ - iyanna (i)
+I <char-0x0d8a> " ඊ - iiyanna (ii)
+u <char-0x0d8b> " උ - uyanna (u)
+U <char-0x0d8c> " ඌ - uuyanna (uu)
+q <char-0x0d8d> " ඍ - iruyanna (iru)
+Q <char-0x0d8e> " ඎ - iruuyanna (iruu)
+<A-k> <char-0x0d8f> " ඏ - iluyanna (ilu)
+<A-K> <char-0x0d90> " ඐ - iluuyanna (iluu)
+e <char-0x0d91> " එ - eyanna (e)
+E <char-0x0d92> " ඒ - eeyanna (ee)
+F <char-0x0d93> " ඓ - aiyanna (ai)
+o <char-0x0d94> " ඔ - oyanna (o)
+O <char-0x0d95> " ඕ - ooyanna (oo)
+H <char-0x0d96> " ඖ - auyanna (au)
+k <char-0x0d9a> " ක - alpapraana kayanna (ka)
+K <char-0x0d9b> " ඛ - mahaapraana kayanna (kha)
+g <char-0x0d9c> " ග - alpapraana gayanna (ga)
+G <char-0x0d9d> " ඝ - mahaapraana gayanna (gha)
+<A-n> <char-0x0d9e> " ඞ - kantaja naasikyaya (nga)
+<A-g> <char-0x0d9f> " ඟ - sanyaka gayanna (nnga)
+c <char-0x0da0> " ච - alpapraana cayanna (ca)
+C <char-0x0da1> " ඡ - mahaapraana cayanna (cha)
+j <char-0x0da2> " ජ - alpapraana jayanna (ja)
+J <char-0x0da3> " ඣ - mahaapraana jhayanna (jha)
+z <char-0x0da4> " ඤ - taaluja naasikyaya (nya)
+Z <char-0x0da5> " ඥ - taaluja sanyooga naasikyaya (jnya)
+<A-j> <char-0x0da6> " ඦ - sanyaka jayanna (nyja)
+t <char-0x0da7> " ට - alpapraana ttayanna (tta)
+T <char-0x0da8> " ඨ - mahaapraana ttayanna (ttha)
+d <char-0x0da9> " ඩ - alpapraana ddayanna (dda)
+D <char-0x0daa> " ඪ - mahaapraana ddayanna (ddha)
+N <char-0x0dab> " ණ - muurdhaja nayanna (nna)
+<A-d> <char-0x0dac> " ඬ - sanyaka ddayanna (nndda)
+<A-t> <char-0x0dad> " ත - alpapraana tayanna (ta)
+<A-T> <char-0x0dae> " ථ - mahaapraana tayanna (tha)
+x <char-0x0daf> " ද - alpapraana dayanna (da)
+X <char-0x0db0> " ධ - mahaapraana dayanna (dha)
+n <char-0x0db1> " න - dantaja nayanna (na)
+<A-x> <char-0x0db3> " ඳ - sanyaka dayanna (nda)
+p <char-0x0db4> " ප - alpapraana payanna (pa)
+P <char-0x0db5> " ඵ - mahaapraana payanna (pha)
+b <char-0x0db6> " බ - alpapraana bayanna (ba)
+B <char-0x0db7> " භ - mahaapraana bayanna (bha)
+m <char-0x0db8> " ම - mayanna (ma)
+M <char-0x0db9> " ඹ - amba bayanna (mba)
+y <char-0x0dba> " ය - yayanna (ya)
+r <char-0x0dbb> " ර - rayanna (ra)
+l <char-0x0dbd> " ල - dantaja layanna (la)
+v <char-0x0dc0> " ව - vayanna (va)
+<A-s> <char-0x0dc1> " ශ - taaluja sayanna (sha)
+S <char-0x0dc2> " ෂ - muurdhaja sayanna (ssa)
+s <char-0x0dc3> " ස - dantaja sayanna (sa)
+h <char-0x0dc4> " හ - hayanna (ha)
+L <char-0x0dc5> " ළ - muurdhaja layanna (lla)
+f <char-0x0dc6> " ෆ - fayanna (fa)
+<A-a> <char-0x0dca> " ් - al-lakuna
+<A-A> <char-0x0dcf> " ා - aela-pilla (aa)
+<A-w> <char-0x0dd0> " ැ - ketti aeda-pilla (ae)
+<A-W> <char-0x0dd1> " ෑ - diga aeda-pilla (aae)
+<A-i> <char-0x0dd2> " ි - ketti is-pilla (i)
+<A-I> <char-0x0dd3> " ී - diga is-pilla (ii)
+<A-u> <char-0x0dd4> " ු - ketti paa-pilla (u)
+<A-U> <char-0x0dd6> " ූ - diga paa-pilla (uu)
+<A-q> <char-0x0dd8> " ෘ - gaetta-pilla (r)
+<A-e> <char-0x0dd9> " ෙ - kombuva (e)
+<A-E> <char-0x0dda> " ේ - diga kombuva (ee)
+<A-f> <char-0x0ddb> " ෛ - kombu deka (ai)
+<A-o> <char-0x0ddc> " ො - kombuva haa aela-pilla (o)
+<A-O> <char-0x0ddd> " ෝ - kombuva haa diga aela-pilla (oo)
+<A-h> <char-0x0dde> " ෞ - kombuva haa gayanukitta (au)
+<A-l> <char-0x0ddf> " ෟ - gayanukitta (l)
+<A-Q> <char-0x0df2> " ෲ - diga gaetta-pilla (rr)
+<A-L> <char-0x0df3> " ෳ - diga gayanukitta (ll)
+<A-.> <char-0x0df4> " ෴ - kunddaliya (punctuation)
+
+R <char-0x0dca><char-0x200d><char-0x0dbb> " ්‍ර - rakaransaya
+Y <char-0x0dca><char-0x200d><char-0x0dba> " ්‍ය - yansaya
+<A-r> <char-0x0dbb><char-0x0dca><char-0x200d> " ර්‍ - repaya
+
+<A-\> <char-0x0dca><char-0x200d> " join - conjunct letters cons 0DCA 200D cons
+<A-|> <char-0x200d> " touch - ZWJ
+
+"<S-space> <char-0x00a0> " - no-break space. <S-space> didn't work.
+<C-space> <char-0x200c> " - ZWNJ. <A-space> doesn't work!