aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorlokesh1197 <lokesh1197@gmail.com>2018-02-28 16:36:14 +0530
committerJustin M. Keyes <justinkz@gmail.com>2018-10-30 19:47:59 +0100
commit3159cd4503ae39301e010abe79c2d304437ee5c5 (patch)
treea9a05dceae909bacf268bfe8d9eb540c99b1af25 /runtime
parent500345aea2ef88b45e0905043ed435ad4676bcef (diff)
downloadrneovim-3159cd4503ae39301e010abe79c2d304437ee5c5.tar.gz
rneovim-3159cd4503ae39301e010abe79c2d304437ee5c5.tar.bz2
rneovim-3159cd4503ae39301e010abe79c2d304437ee5c5.zip
vim-patch:8.0.1553: find digraph to insert a character #8190
Problem: Cannot see what digraph is used to insert a character. Solution: Show the digraph with the "ga" command. (Christian Brabandt) https://github.com/vim/vim/commit/5f73ef8d20070cd45c9aea4dc33c2e0657f5515c close #8190
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/various.txt23
1 files changed, 17 insertions, 6 deletions
diff --git a/runtime/doc/various.txt b/runtime/doc/various.txt
index 917419e0f5..11ee8f8ca9 100644
--- a/runtime/doc/various.txt
+++ b/runtime/doc/various.txt
@@ -37,23 +37,34 @@ CTRL-L Clear and redraw the screen. The redraw may happen
<
:as[cii] or *ga* *:as* *:ascii*
ga Print the ascii value of the character under the
- cursor in decimal, hexadecimal and octal. For
- example, when the cursor is on a 'R':
+ cursor in decimal, hexadecimal and octal.
+ Mnemonic: Get Ascii value.
+
+ For example, when the cursor is on a 'R':
<R> 82, Hex 52, Octal 122 ~
When the character is a non-standard ASCII character,
but printable according to the 'isprint' option, the
- non-printable version is also given. When the
- character is larger than 127, the <M-x> form is also
- printed. For example:
+ non-printable version is also given.
+
+ When the character is larger than 127, the <M-x> form
+ is also printed. For example:
<~A> <M-^A> 129, Hex 81, Octal 201 ~
<p> <|~> <M-~> 254, Hex fe, Octal 376 ~
(where <p> is a special character)
+
The <Nul> character in a file is stored internally as
<NL>, but it will be shown as:
<^@> 0, Hex 00, Octal 000 ~
+
If the character has composing characters these are
also shown. The value of 'maxcombine' doesn't matter.
- Mnemonic: Get ASCII value.
+
+ If the character can be inserted as a digraph, also
+ output the two characters that can be used to create
+ the character:
+ <ö> 246, Hex 00f6, Oct 366, Digr o: ~
+ This shows you can type CTRL-K o : to insert ö.
+
*g8*
g8 Print the hex values of the bytes used in the