Do you see my message?

Bram Moolenaar, “Digraphs”, public translation into Russian from English More about this translation.

See also 30 similar translations

Translate into another language.

Participants

nikson009 points
lena785 points
Join Translated.by to translate! If you already have a Translated.by account, please sign in.
If you do not want to register an account, you can sign in with OpenID.
Pages: ← previous Ctrl next next untranslated
1 2 3 4 5

Digraphs

Do you see my message?

History of edits (Latest: lena78 2 years, 3 months ago) §

*digraph.txt* For Vim version 7.2. Last change: 2008 Aug 06

Does his brother like to play games at home?

History of edits (Latest: nikson00 1 year, 7 months ago) §

VIM REFERENCE MANUAL by Bram Moolenaar

Digraphs *digraph* *digraphs* *Digraphs*

Digraphs are used to enter characters that normally cannot be entered by
an ordinary keyboard. These are mostly printable non-ASCII characters. The
digraphs are easier to remember than the decimal number that can be entered
with CTRL-V (see |i_CTRL-V|).

There is a brief introduction on digraphs in the user manual: |24.9|
An alternative is using the 'keymap' option.

1. Defining digraphs |digraphs-define|
2. Using digraphs |digraphs-use|
3. Default digraphs |digraphs-default|

{Vi does not have any of these commands}

==============================================================================
1. Defining digraphs *digraphs-define*

*:dig* *:digraphs*
:dig[raphs] show currently defined digraphs.
*E104* *E39*
:dig[raphs] {char1}{char2} {number} ...
Add digraph {char1}{char2} to the list. {number} is
the decimal representation of the character. Normally
it is the Unicode character, see |digraph-encoding|.
Example: >
:digr e: 235 a: 228
< Avoid defining a digraph with '_' (underscore) as the
first character, it has a special meaning in the
future.

Vim is normally compiled with the |+digraphs| feature. If the feature is
disabled, the ":digraph" command will display an error message.

Example of the output of ":digraphs": >
TH Ю 222 ss Я 223 a! а 224 a' б 225 a> в 226 a? г 227 a: д 228

The first two characters in each column are the characters you have to type to
enter the digraph.

In the middle of each column is the resulting character. This may be mangled
if you look at it on a system that does not support digraphs or if you print
this file.

*digraph-encoding*
The decimal number normally is the Unicode number of the character. Note that
the meaning doesn't change when 'encoding' changes. The character will be
converted from Unicode to 'encoding' when needed. This does require the
conversion to be available, it might fail. For the NUL character you will see
"10". That's because NUL characters are internally represented with a NL
character. When you write the file it will become a NUL character.

Pages: ← previous Ctrl next next untranslated
1 2 3 4 5