bulgarian-bds.vim 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. " Vim keymap file for Bulgarian and Russian characters, "bds" layout.
  2. " Most of it can be used with both utf-8 and cp1251 file encodings, except
  3. " the accented characters which can only be stored in utf-8.
  4. " This file itself is in utf-8.
  5. " Maintainer: Boyko Bantchev <boykobb@gmail.com>
  6. " URI: http://www.math.bas.bg/bantchev/vim/bulgarian-bds.vim
  7. " Last Changed: 2010 May 4
  8. " This keymap corresponds to what is called Bulgarian standard typewriter
  9. " keyboard layout, or "БДС".
  10. "
  11. " Note that, in addition to the Bulgarian alphabet, the BDS layout prescribes
  12. " the presence of the following characters:
  13. " — The Russian letters ы (small), and Э and э (capital and small).
  14. " — The latin capital letters I and V – used to type Roman numerals
  15. " without having to leave Cyrillic mode.
  16. "
  17. " Some punctuation characters present in ascii are mapped in BDS to keys
  18. " different from the ones they occupy in the QWERTY layout, because the latter
  19. " keys are used to type other characters.
  20. "
  21. " In this keymap, also defined (besides BDS) are:
  22. " — The Russian letters Ё and ё (capital and small), as well as the
  23. " Russian capital letter Ы (see above for the small counterpart).
  24. " This way, using the bulgarian-bds keymap, one can access both
  25. " the Bulgarian and the Russian alphabets.
  26. " — The quotation marks „ “ ” ‘ ’ (used in the Bulgarian and English
  27. " quotation styles), as well as « » (Russian quotation style).
  28. " — The characters §, №, – (en-dash), — (em-dash), …, •, ·, ±, °, ¬,
  29. " ¤, €, ‰, †, ‡, and ¶.
  30. "
  31. " The keymap also defines key combinations for grave and acute accents.
  32. " (Grave accent is used in Bulgarian, acute in Russian, but both accents
  33. " apply to other languages as well.)
  34. "
  35. " For details of what key or key combination maps to what character, please
  36. " see below the map itself.
  37. "
  38. " See also http://www.math.bas.bg/bantchev/vim/kbdbul.html (in Bulgarian).
  39. scriptencoding utf-8
  40. let b:keymap_name = "bds"
  41. loadkeymap
  42. D А CYRILLIC CAPITAL LETTER A
  43. ? Б CYRILLIC CAPITAL LETTER BE
  44. L В CYRILLIC CAPITAL LETTER VE
  45. H Г CYRILLIC CAPITAL LETTER GHE
  46. O Д CYRILLIC CAPITAL LETTER DE
  47. E Е CYRILLIC CAPITAL LETTER IE
  48. E:: Ё CYRILLIC CAPITAL LETTER IO
  49. G Ж CYRILLIC CAPITAL LETTER ZHE
  50. P З CYRILLIC CAPITAL LETTER ZE
  51. R И CYRILLIC CAPITAL LETTER I
  52. X Й CYRILLIC CAPITAL LETTER SHORT I
  53. U К CYRILLIC CAPITAL LETTER KA
  54. > Л CYRILLIC CAPITAL LETTER EL
  55. : М CYRILLIC CAPITAL LETTER EM
  56. K Н CYRILLIC CAPITAL LETTER EN
  57. F О CYRILLIC CAPITAL LETTER O
  58. M П CYRILLIC CAPITAL LETTER PE
  59. < Р CYRILLIC CAPITAL LETTER ER
  60. I С CYRILLIC CAPITAL LETTER ES
  61. J Т CYRILLIC CAPITAL LETTER TE
  62. W У CYRILLIC CAPITAL LETTER U
  63. B Ф CYRILLIC CAPITAL LETTER EF
  64. N Х CYRILLIC CAPITAL LETTER HA
  65. { Ц CYRILLIC CAPITAL LETTER TSE
  66. \" Ч CYRILLIC CAPITAL LETTER CHE
  67. T Ш CYRILLIC CAPITAL LETTER SHA
  68. Y Щ CYRILLIC CAPITAL LETTER SHCHA
  69. C Ъ CYRILLIC CAPITAL LETTER HARD SIGN
  70. CX Ы CYRILLIC CAPITAL LETTER YERU
  71. A Ь CYRILLIC CAPITAL LETTER SOFT SIGN
  72. V Э CYRILLIC CAPITAL LETTER REVERSED E
  73. Z Ю CYRILLIC CAPITAL LETTER YU
  74. S Я CYRILLIC CAPITAL LETTER YA
  75. d а CYRILLIC SMALL LETTER A
  76. \/ б CYRILLIC SMALL LETTER BE
  77. l в CYRILLIC SMALL LETTER VE
  78. h г CYRILLIC SMALL LETTER GHE
  79. o д CYRILLIC SMALL LETTER DE
  80. e е CYRILLIC SMALL LETTER IE
  81. e:: ё CYRILLIC SMALL LETTER IO
  82. g ж CYRILLIC SMALL LETTER ZHE
  83. p з CYRILLIC SMALL LETTER ZE
  84. r и CYRILLIC SMALL LETTER I
  85. x й CYRILLIC SMALL LETTER SHORT I
  86. u к CYRILLIC SMALL LETTER KA
  87. \. л CYRILLIC SMALL LETTER EL
  88. ; м CYRILLIC SMALL LETTER EM
  89. k н CYRILLIC SMALL LETTER EN
  90. f о CYRILLIC SMALL LETTER O
  91. m п CYRILLIC SMALL LETTER PE
  92. , р CYRILLIC SMALL LETTER ER
  93. i с CYRILLIC SMALL LETTER ES
  94. j т CYRILLIC SMALL LETTER TE
  95. w у CYRILLIC SMALL LETTER U
  96. b ф CYRILLIC SMALL LETTER EF
  97. n х CYRILLIC SMALL LETTER HA
  98. [ ц CYRILLIC SMALL LETTER TSE
  99. ' ч CYRILLIC SMALL LETTER CHE
  100. t ш CYRILLIC SMALL LETTER SHA
  101. y щ CYRILLIC SMALL LETTER SHCHA
  102. c ъ CYRILLIC SMALL LETTER HARD SIGN
  103. Q ы CYRILLIC SMALL LETTER YERU
  104. a ь CYRILLIC SMALL LETTER SOFT SIGN
  105. v э CYRILLIC SMALL LETTER REVERSED E
  106. z ю CYRILLIC SMALL LETTER YU
  107. s я CYRILLIC SMALL LETTER YA
  108. _ I LATIN CAPITAL LETTER I
  109. + V LATIN CAPITAL LETTER V
  110. $ " QUOTATION MARK
  111. \\ ( LEFT PARENTHESIS
  112. | ) RIGHT PARENTHESIS
  113. # + PLUS SIGN
  114. q , COMMA
  115. ( - HYPHEN-MINUS
  116. = . FULL STOP (PERIOD)
  117. * / SOLIDUS (SLASH)
  118. & : COLON
  119. ] ; SEMICOLON
  120. ^ = EQUALS SIGN
  121. @ ? QUESTION MARK
  122. } § SECTION SIGN (PARAGRAPH SIGN)
  123. ) № NUMERO SIGN
  124. -- – EN DASH
  125. --- — EM DASH
  126. .. … HORIZONTAL ELLIPSIS
  127. `` “ LEFT DOUBLE QUOTATION MARK
  128. '' ” RIGHT DOUBLE QUOTATION MARK
  129. ,, „ DOUBLE LOW-9 QUOTATION MARK
  130. `. ‘ LEFT SINGLE QUOTATION MARK
  131. '. ’ RIGHT SINGLE QUOTATION MARK
  132. << « LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
  133. >> » RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
  134. ** • BULLET
  135. ,. · MIDDLE DOT
  136. +- ± PLUS-MINUS SIGN
  137. ^o ° DEGREE SIGN
  138. ~~ ¬ NOT SIGN
  139. @@ ¤ CURRENCY SIGN
  140. $$ € EURO SIGN
  141. %% ‰ PER MILLE SIGN
  142. +| † DAGGER
  143. ++ ‡ DOUBLE DAGGER
  144. || ¶ PILCROW SIGN
  145. " Accented characters cannot map onto cp1251 – use utf-8 file encoding.
  146. " To apply an accent to a letter, type the corresponding key combination
  147. " to the immediate right of that letter.
  148. ^` <char-0x300> COMBINING GRAVE ACCENT
  149. ^' <char-0x301> COMBINING ACUTE ACCENT