blob: 36f3d0b715cb7fbdb6f14b481a356bb3587b8b32 [file] [log] [blame]
Bram Moolenaar3b1db362013-08-10 15:00:24 +02001*russian.txt* For Vim version 7.4. Last change: 2006 Apr 24
Bram Moolenaar071d4272004-06-13 20:20:40 +00002
3
4 VIM REFERENCE MANUAL by Vassily Ragosin
5
6
7Russian language localization and support in Vim *russian* *Russian*
8
91. Introduction |russian-intro|
102. Russian keymaps |russian-keymap|
113. Localization |russian-l18n|
124. Known issues |russian-issues|
13
14===============================================================================
151. Introduction *russian-intro*
16
Bram Moolenaar402d2fe2005-04-15 21:00:38 +000017Russian language is supported perfectly well in Vim. You can type and view
Bram Moolenaar071d4272004-06-13 20:20:40 +000018Russian text just as any other, without the need to tweak the settings.
19
20===============================================================================
212. Russian keymaps *russian-keymap*
22
23To switch between languages you can use your system native keyboard switcher,
24or use one of the Russian keymaps, included in the Vim distribution. For
25example,
26>
27 :set keymap=russian-jcukenwin
28<
29In the latter case, you can switch between languages even if you do not have
30system Russian keyboard or independently from a system-wide keyboard settings.
Bram Moolenaar402d2fe2005-04-15 21:00:38 +000031See 'keymap'. You can also map a key to switch between keyboards, if you
32choose the latter option. See |:map|.
Bram Moolenaar071d4272004-06-13 20:20:40 +000033
34For your convenience, to avoid switching between keyboards, when you need to
35enter Normal mode command, you can also set 'langmap' option:
36>
37 :set langmap=ФИСВУАПРШОЛДЬТЩЗЙКЫЕГМЦЧНЯ;ABCDEFGHIJKLMNOPQRSTUVWXYZ,
38 фисвуапршолдьтщзйкыегмцчня;abcdefghijklmnopqrstuvwxyz
39
40This is in utf-8, you cannot read this if your 'encoding' is not utf-8.
41You have to type this command in one line, it is wrapped for the sake of
42readability.
43
44===============================================================================
453. Localization *russian-l18n*
46
47If you wish to use messages, help files, menus and other items translated to
48Russian, you will need to install the RuVim Language Pack, available in
49different codepages from
50
51 http://www.sourceforge.net/projects/ruvim/
52
53Make sure that your Vim is at least 6.2.506 and use ruvim 0.5 or later for
Bram Moolenaar402d2fe2005-04-15 21:00:38 +000054automatic installs. Vim also needs to be compiled with |+gettext| feature for
Bram Moolenaar071d4272004-06-13 20:20:40 +000055user interface items translations to work.
56
57After downloading an archive from RuVim project, unpack it into your
Bram Moolenaar402d2fe2005-04-15 21:00:38 +000058$VIMRUNTIME directory. We recommend using UTF-8 archive, if your version of
Bram Moolenaar071d4272004-06-13 20:20:40 +000059Vim is compiled with |+multi_byte| feature enabled.
60
61In order to use the Russian documentation, make sure you have set the
62'helplang' option to "ru".
63
64===============================================================================
654. Known issues *russian-issues*
66
67-- If you are using Russian message translations in Win32 console, then
68 you may see the output produced by "vim --help", "vim --version" commands
Bram Moolenaar402d2fe2005-04-15 21:00:38 +000069 and Win32 console window title appearing in a wrong codepage. This problem
Bram Moolenaar071d4272004-06-13 20:20:40 +000070 is related to a bug in GNU gettext library and may be fixed in the future
71 releases of gettext.
72
Bram Moolenaar071d4272004-06-13 20:20:40 +000073===============================================================================
74 vim:tw=78:ts=8:ft=help:norl: