From c4c9daf7e273c24ada31837f966c01230b761e15 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Wed, 3 Sep 2025 21:27:16 +0800 Subject: [PATCH] vim-patch:e0704a3: runtime(keymap): Add transliteration (buckwalter) arabic keymap References: - https://en.wikipedia.org/wiki/Buckwalter_transliteration - http://qamus.org/transliteration.htm closes: vim/vim#18186 https://github.com/vim/vim/commit/e0704a359382ed3483c17db74b76110de6ef3519 Co-authored-by: Rafael Ketsetsides --- runtime/keymap/arabic_buckwalter.vim | 75 ++++++++++++++++++++++++++++ 1 file changed, 75 insertions(+) create mode 100644 runtime/keymap/arabic_buckwalter.vim diff --git a/runtime/keymap/arabic_buckwalter.vim b/runtime/keymap/arabic_buckwalter.vim new file mode 100644 index 0000000000..7535cf4976 --- /dev/null +++ b/runtime/keymap/arabic_buckwalter.vim @@ -0,0 +1,75 @@ +" Vim Keymap file for Arabic using Buckwalter Transliteration +" see +" http://qamus.org/transliteration.htm +" https://en.wikipedia.org/wiki/Buckwalter_transliteration +" +" Created By: Rafael Ketsetsides +" Last Update: 2025 Sep 02 + +let b:keymap_name = "arabic_buckwalter" + +loadkeymap + +A " ALEF +b " BEH +p " TEH MARBUTA +t " TEH +v " THEH +j " JEEM +H " HAH +x " KHAH +d " DAL +* " THAL +r " REH +z " ZAIN +s " SEEN +$ " SHEEN +S " SAD +D " DAD +T " TAH +Z " ZAH +E " AIN +g " GHAIN +_ " TATWEEL +f " FEH +q " QAF +k " KAF +l " LAM +m " MEEM +n " NOON +h " HEH +w " WAW +Y " ALEF MAKSURA +y " YEH +' " HAMZA +| " ALEF WITH MADDA ABOVE +> " ALEF WITH HAMZA ABOVE +& " WAW WITH HAMZA ABOVE +< " ALEF WITH HAMZA BELOW +} " YEH WITH HAMZA ABOVE +F " Tanween -- FATHATAN +N " Tanween -- DAMMATAN +K " Tanween -- KASRATAN +a " Tanween -- FATHA +u " Tanween -- DAMMA +i " Tanween -- KASRA +~ " Tanween -- SHADDA +o " Tanween -- SUKUN +; " Arabic Semicolon +, " Arabic Comma +? " Arabic Question Mark +{ " ALEF WASLA +P " PEH +J " TCHEH +V " VEH +G " GAF +0 " Arabic-Indic 0 +1 " Arabic-Indic 1 +2 " Arabic-Indic 2 +3 " Arabic-Indic 3 +4 " Arabic-Indic 4 +5 " Arabic-Indic 5 +6 " Arabic-Indic 6 +7 " Arabic-Indic 7 +8 " Arabic-Indic 8 +9 " Arabic-Indic 9