Skip to content

Commit

Permalink
Vim version 8.2
Browse files Browse the repository at this point in the history
  • Loading branch information
RestorerZ committed Jan 15, 2024
1 parent b4d0fec commit 9827c67
Show file tree
Hide file tree
Showing 12 changed files with 235 additions and 167 deletions.
12 changes: 7 additions & 5 deletions vim82/keymap/READMERU.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,17 @@
{language}[-{layout}][_{encoding}].vim
{язык}[-{раскладка}][_{кодировка}].vim

{язык} Наименования языка (например, «russian», «greek»).
Где:

{язык} наименования языка (например, «russian», «greek»).
Обязательная часть.

{раскладка} Наименование раскладки клавиатуры (например, «qwerty»,
{раскладка} наименование раскладки клавиатуры (например, «qwerty»,
«dvorak»). Если эта часть отсутствует, то подразумевается
стандартная раскладка.
Не обязательная часть.

{кодировка} Кодировка символов, с которой будет работать данное описание
{кодировка} кодировка символов, с которой будет работать данное описание
сопоставления клавиш. Если эта часть отсутствует, то
подразумевается «нормальная» кодировка символов для данного
языка.
Expand All @@ -35,5 +37,5 @@
проблемах специалисту, обслуживающему этот файл.

Формат строк, расположенных после команды "loadkeymap", описан в документации,
поставляемой с редактором Vim, чтобы просмотреть её, введите команду ":help
keymap-file-format".
поставляемой с редактором Vim. Чтобы просмотреть описание, введите команду
":help keymap-file-format" (без кавычек).
100 changes: 83 additions & 17 deletions vim82/keymap/russian-typograph.vim
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
" Vim Keymap file for Russian characters
" layout English-US 104 key 'QWERTY'
"
" Maintainer: Restorer <[email protected]>
" Last Changed: 08 Jan 2022
" Version: 2.1
" Maintainer: Restorer, <[email protected]>
" Last Changed: 25 Apr 2023
" Version: 3.3
" Description: описание дано после изображений клавиатуры

" Расположение символов для русского языка при подключенном файле с раскладкой
" клавиатуры «русская типографская» (russian-typograph.vim). Версия 2.1
" клавиатуры «русская типографская» (russian-typograph.vim). Версия 3.3


" Ни одна из клавиш модификаторов не нажата
Expand All @@ -30,7 +30,7 @@
" ,---,---,---,---,---,---,---,---,---,---,---,---,---,-------,
" | = | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | + | <--- |
" |---'-,-'-,-'-,-'-,-'-,-'-,-'-,-'-,-'-,-'-,-'-,-'-,-'-,-----|
" | ->| | Й | Ц | У | К | Е | Н | Г | Ш | Щ | З | Х | Ъ | |
" | ->| | Й | Ц | У | К | Е | Н | Г | Ш | Щ | З | Х | Ъ | § |
" |-----',--',--',--',--',--',--',--',--',--',--',--',--'-----|
" | Caps | Ф | Ы | В | А | П | Р | О | Л | Д | Ж | Э | Enter |
" |------'-,-'-,-'-,-'-,-'-,-'-,-'-,-'-,-'-,-'-,-'-,-'--------|
Expand All @@ -43,15 +43,15 @@
" Нажата клавиша ALT

" ,---,---,---,---,---,---,---,---,---,---,---,---,---,-------,
" | ` | № | | “ | | | | … | | | | ‑ | | <--- |
" | ` | № | – | „ | | | | … | | | | ‑ | ± | <--- |
" |---'-,-'-,-'-,-'-,-'-,-'-,-'-,-'-,-'-,-'-,-'-,-'-,-'-,-----|
" | ->| | | | | | | | | | | | [ | ] | \ |
" |-----',--',--',--',--',--',--',--',--',--',--',--',--'-----|
" | Caps | | | | | | | | | | | ' | Enter |
" | Caps | | | | | | | | | | | ' | Enter |
" |------'-,-'-,-'-,-'-,-'-,-'-,-'-,-'-,-'-,-'-,-'-,-'--------|
" | Shift | | | | | | | | | | | Shift |
" |------,-',--'--,'---'---'---'---'---'---'-,-'---',--,------|
" | Ctrl | | ALT | NNBSP | ALT | | Ctrl |
" | Ctrl | | ALT | NNBSP | ALT | | Ctrl |
" '------' '-----'--------------------------'------' '------'


Expand All @@ -75,7 +75,7 @@
" ,---,---,---,---,---,---,---,---,---,---,---,---,---,-------,
" | | | | | | | | | | | | | | <--- |
" |---'-,-'-,-'-,-'-,-'-,-'-,-'-,-'-,-'-,-'-,-'-,-'-,-'-,-----|
" | ->| | | | | | | | | | | | | | | |
" | ->| | | | | | | | | | | | | | |
" |-----',--',--',--',--',--',--',--',--',--',--',--',--'-----|
" | Caps | | | | | | | | | | | | Enter |
" |------'-,-'-,-'-,-'-,-'-,-'-,-'-,-'-,-'-,-'-,-'-,-'--------|
Expand All @@ -85,6 +85,36 @@
" '------' '-----'--------------------------'------' '------'


" Нажаты клавиши ALT и CTRL

" ,---,---,---,---,---,---,---,---,---,---,---,---,---,-------,
" | | | | | | | | | | | | | | <--- |
" |---'-,-'-,-'-,-'-,-'-,-'-,-'-,-'-,-'-,-'-,-'-,-'-,-'-,-----|
" | ->| | | | у́ | | е́ | | | | | | | | |
" |-----',--',--',--',--',--',--',--',--',--',--',--',--'-----|
" | Caps | | ы́ | | а́ | | | о́ | | | | э́ | Enter |
" |------'-,-'-,-'-,-'-,-'-,-'-,-'-,-'-,-'-,-'-,-'-,-'--------|
" | Shift | я́ | | | | и́ | | | | ю́ | | Shift |
" |------,-',--'--,'---'---'---'---'---'---'-,-'---',--,------|
" | CTRL | | ALT | | ALT | | CTRL |
" '------' '-----'--------------------------'------' '------'


" Нажаты клавиши SHIFT, ALT и CTRL

" ,---,---,---,---,---,---,---,---,---,---,---,---,---,-------,
" | | | | | | | | | | | | | | <--- |
" |---'-,-'-,-'-,-'-,-'-,-'-,-'-,-'-,-'-,-'-,-'-,-'-,-'-,-----|
" | ->| | | | У́ | | Е́ | | | | | | | | |
" |-----',--',--',--',--',--',--',--',--',--',--',--',--'-----|
" | Caps | | Ы́ | | А́ | | | О́ | | | | Э́ | Enter |
" |------'-,-'-,-'-,-'-,-'-,-'-,-'-,-'-,-'-,-'-,-'-,-'--------|
" | SHIFT | Я́ | | | | И́ | | | | Ю́ | | SHIFT |
" |------,-',--'--,'---'---'---'---'---'---'-,-'---',--,------|
" | CTRL | | ALT | | ALT | | CTRL |
" '------' '-----'--------------------------'------' '------'


" Раскладка сделана на основе раскладки «русская машинопись» (KBDRU1.DLL),
" поставляемой в составе ОС MS Windows.
"
Expand All @@ -96,15 +126,15 @@
" раскладке они набираются без модификаторов, или нажать <ALT>+<SHIFT>, если они
" набираются с модификатором <SHIFT>.

scriptencoding utf-8
" scriptencoding utf-8

let b:keymap_name ="RUS"

loadkeymap

" DIGITAL ROW

" The SHIFT key and ALT key is not pressed
" None of the modifier keys are pressed
<char-0x0060> <char-0x0025> " PERCENT SIGN
<char-0x0031> <char-0x0021> " EXCLAMATION MARK
<char-0x0032> <char-0x2014> " EM DASH
Expand Down Expand Up @@ -137,10 +167,12 @@ loadkeymap
" The ALT key pressed
<A-char-0x0060> <char-0x0060> " GRAVE ACCENT
<A-char-0x0031> <char-0x2116> " NUMERO SIGN
<A-char-0x0033> <char-0x201c> " LEFT DOUBLE QUOTATION MARK
<A-char-0x0034> <char-0x201d> " RIGHT DOUBLE QUOTATION MARK
<A-char-0x0032> <char-0x2013> " EN DASH
<A-char-0x0033> <char-0x201e> " DOUBLE LOW-9 QUOTATION MARK
<A-char-0x0034> <char-0x201c> " LEFT DOUBLE QUOTATION MARK
<A-char-0x0037> <char-0x2026> " HORIZONTAL ELLIPSIS
<A-char-0x002d> <char-0x2011> " NON-BREAKING HYPHEN
<A-char-0x003d> <char-0x00b1> " PLUS-MINUS SIGN

" The SHIFT and ALT keys pressed
<A-char-0x007e> <char-0x007e> " TILDE
Expand All @@ -155,7 +187,7 @@ loadkeymap

" ALPHABETICAL 1st ROW

" The SHIFT key and ALT key is not pressed
" None of the modifier keys are pressed
<char-0x0071> <char-0x0439> " CYRILLIC SMALL LETTER SHORT I
<char-0x0077> <char-0x0446> " CYRILLIC SMALL LETTER TSE
<char-0x0065> <char-0x0443> " CYRILLIC SMALL LETTER U
Expand Down Expand Up @@ -191,10 +223,18 @@ loadkeymap
<A-char-0x007b> <char-0x007b> " LEFT CURLY BRACKET
<A-char-0x007d> <char-0x007d> " RIGHT CURLY BRACKET

" The ALT and CTRL key pressed
<A-C-char-0x0065> <char-0x0443><char-0x0301> " CYRILLIC SMALL LETTER U with COMBINING ACUTE ACCENT
<A-C-char-0x0074> <char-0x0435><char-0x0301> " CYRILLIC SMALL LETTER IE with COMBINING ACUTE ACCENT

" The SHIFT and ALT and CTRL keys pressed
<S-A-C-char-0x0045> <char-0x0423><char-0x0301> " CYRILLIC CAPITAL LETTER U with COMBINING ACUTE ACCENT
<S-A-C-char-0x0054> <char-0x0415><char-0x0301> " CYRILLIC CAPITAL LETTER IE with COMBINING ACUTE ACCENT


" ALPHABETIC 2st ROW

" The SHIFT key and ALT key is not pressed
" None of the modifier keys are pressed
<char-0x0061> <char-0x0444> " CYRILLIC SMALL LETTER EF
<char-0x0073> <char-0x044b> " CYRILLIC SMALL LETTER YERU
<char-0x0064> <char-0x0432> " CYRILLIC SMALL LETTER VE
Expand Down Expand Up @@ -222,14 +262,27 @@ loadkeymap

" The ALT key pressed
<A-char-0x0027> <char-0x0027> " APOSTROPHE
<A-char-0x0068> <char-0x20bd> " RUBLE SIGN

" The SHIFT and ALT keys pressed
<A-char-0x0022> <char-0x0022> " QUOTATION MARK

" The ALT and CTRL key pressed
<A-C-char-0x0073> <char-0x044b><char-0x0301> " CYRILLIC SMALL LETTER YERU with COMBINING ACUTE ACCENT
<A-C-char-0x0066> <char-0x0430><char-0x0301> " CYRILLIC SMALL LETTER A with COMBINING ACUTE ACCENT
<A-C-char-0x006a> <char-0x043e><char-0x0301> " CYRILLIC SMALL LETTER O with COMBINING ACUTE ACCENT
<A-C-char-0x0027> <char-0x044d><char-0x0301> " CYRILLIC SMALL LETTER E with COMBINING ACUTE ACCENT

" The SHIFT and ALT and CTRL keys pressed
<S-A-C-char-0x0053> <char-0x042b><char-0x0301> " CYRILLIC CAPITAL LETTER YERU with COMBINING ACUTE ACCENT
<S-A-C-char-0x0046> <char-0x0410><char-0x0301> " CYRILLIC CAPITAL LETTER A with COMBINING ACUTE ACCENT
<S-A-C-char-0x004a> <char-0x041e><char-0x0301> " CYRILLIC CAPITAL LETTER O with COMBINING ACUTE ACCENT
<S-A-C-char-0x0022> <char-0x042d><char-0x0301> " CYRILLIC CAPITAL LETTER E with COMBINING ACUTE ACCENT


" ALPHABETIC 3st ROW

" The SHIFT key and ALT key is not pressed
" None of the modifier keys are pressed
<char-0x007a> <char-0x044f> " CYRILLIC SMALL LETTER YA
<char-0x0078> <char-0x0447> " CYRILLIC SMALL LETTER CHE
<char-0x0063> <char-0x0441> " CYRILLIC SMALL LETTER ES
Expand Down Expand Up @@ -260,12 +313,25 @@ loadkeymap
<A-char-0x003c> <char-0x003c> " LESS-THAN SIGN
<A-char-0x003e> <char-0x003e> " GREATER-THAN SIGN

" The ALT and CTRL key pressed
<A-C-char-0x007a> <char-0x044f><char-0x0301> " CYRILLIC SMALL LETTER YA with COMBINING ACUTE ACCENT
<A-C-char-0x0062> <char-0x0438><char-0x0301> " CYRILLIC SMALL LETTER I with COMBINING ACUTE ACCENT
<A-C-char-0x002e> <char-0x044e><char-0x0301> " CYRILLIC SMALL LETTER YU with COMBINING ACUTE ACCENT

" The SHIFT and ALT and CTRL keys pressed
<S-A-C-char-0x005a> <char-0x042f><char-0x0301> " CYRILLIC CAPITAL LETTER YA with COMBINING ACUTE ACCENT
<S-A-C-char-0x0042> <char-0x0418><char-0x0301> " CYRILLIC CAPITAL LETTER I with COMBINING ACUTE ACCENT
<S-A-C-char-0x003e> <char-0x042e><char-0x0301> " CYRILLIC CAPITAL LETTER Y with COMBINING ACUTE ACCENT


" VK_OEM_5 key (scan code 2b)

" The SHIFT key and ALT key is not pressed
" None of the modifier keys are pressed
<char-0x005c> <char-0x002f> " SOLIDUS

" The SHIFT key is pressed
<char-0x007c> <char-0x00a7> " SECTION SIGN

" The ALT key is pressed
<A-char-0x005c> <char-0x005c> " REVERSE SOLIDUS

Expand Down
2 changes: 1 addition & 1 deletion vim82/lang/READMERU.txt
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
не выполнял загрузка других файлов с переводом пунктов меню.


АВТОМАТИЧЕСКАЯ ПЕРЕКОДИРОВКА СИМВОЛОВ
АВТОМАТИЧЕСКОЕ ИЗМЕНЕНИЕ КОДИРОВКИ СИМВОЛОВ

Если при компиляции программы Vim была активирована поддержка многобайтовых
кодировок, то перекодировка символов latin1 и UTF-8 будет выполняться всегда.
Expand Down
1 change: 0 additions & 1 deletion vim82/lang/menu_ru.utf-8.vim
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
" Menu Translations: Russian

source <sfile>:p:h/menu_ru_ru.utf-8.vim

Loading

0 comments on commit 9827c67

Please sign in to comment.