Home Explore Blog CI



neovim

runtime/doc/russian.txt
408adc162542f3298d0964a80fa66c65682c819c310956b20000000300000a00
*russian.txt*   Nvim


		  VIM REFERENCE MANUAL    by Vassily Ragosin


Russian language localization and support in Vim	   *russian* *Russian*

                                      Type |gO| to see the table of contents.

===============================================================================
1. Introduction							*russian-intro*

Russian language is supported perfectly well in Vim.  You can type and view
Russian text just as any other, without the need to tweak the settings.

===============================================================================
2. Russian keymaps					       *russian-keymap*

To switch between languages you can use your system native keyboard switcher,
or use one of the Russian keymaps, included in the Vim distribution.  For
example,
>
    :set keymap=russian-jcukenwin
<
In the latter case, you can switch between languages even if you do not have
system Russian keyboard or independently from a system-wide keyboard settings.
See 'keymap'.  You can also map a key to switch between keyboards, if you
choose the latter option.  See |:map|.

For your convenience, to avoid switching between keyboards, when you need to
enter Normal mode command, you can also set 'langmap' option:
>
    :set langmap=ФИСВУАПРШОЛДЬТЩЗЙКЫЕГМЦЧНЯ;ABCDEFGHIJKLMNOPQRSTUVWXYZ,
    фисвуапршолдьтщзйкыегмцчня;abcdefghijklmnopqrstuvwxyz

You have to type this command in one line, it is wrapped for the sake of
readability.

===============================================================================
3. Localization							 *russian-l18n*

If you wish to use messages, help files, menus and other items translated to
Russian, you will need to install the RuVim Language Pack, available in
different codepages from

    https://www.sourceforge.net/projects/ruvim/

After downloading an archive from RuVim project, unpack it into your
$VIMRUNTIME directory.  We recommend using UTF-8 archive.

In order to use the Russian documentation, make sure you have set the
'helplang' option to "ru".

===============================================================================
4. Known issues						       *russian-issues*

-- If you are using Russian message translations in Win32 console, then
   you may see the output produced by "vim --help", "vim --version" commands
   and Win32 console window title appearing in a wrong codepage.  This problem
   is related to a bug in GNU gettext library and may be fixed in the future
   releases of gettext.

 vim:tw=78:ts=8:noet:ft=help:norl:

Chunks
41bb06d7 (1st chunk of `runtime/doc/russian.txt`)
Title: Vim: Russian Language Support and Localization
Summary
This document details how to use the Russian language in Vim, covering typing, viewing, keymaps, and localization. Users can switch languages using the system's native switcher or Vim's Russian keymaps. Examples are given for setting 'keymap' to switch independently of system settings and mapping keys. 'langmap' is introduced to help entering commands in Normal mode without switching keyboards constantly. Instructions detail installing the RuVim Language Pack from SourceForge to enable Russian messages, help files, and menus. The 'helplang' option should be set to "ru" for Russian documentation. A known issue regarding codepage problems in Win32 consoles using Russian translations is discussed, potentially linked to a GNU gettext library bug.