mirror of
https://github.com/vim/vim.git
synced 2025-10-14 07:04:10 -04:00
runtime(doc): remove wrong documentation of the :digraph command
fixes: #17583 Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
*usr_24.txt* For Vim version 9.1. Last change: 2025 Jun 02
|
*usr_24.txt* For Vim version 9.1. Last change: 2025 Jun 22
|
||||||
|
|
||||||
VIM USER MANUAL - by Bram Moolenaar
|
VIM USER MANUAL - by Bram Moolenaar
|
||||||
|
|
||||||
@@ -568,14 +568,13 @@ that combination. Thus CTRL-K dP also works. Since there is no digraph for
|
|||||||
using. Always use ":digraphs" to find out which digraphs are currently
|
using. Always use ":digraphs" to find out which digraphs are currently
|
||||||
available.
|
available.
|
||||||
|
|
||||||
You can define your own digraphs. Example: >
|
You can define your own digraphs by specifying the target character with a
|
||||||
|
decimal number. Example: >
|
||||||
|
|
||||||
:digraph a" ä
|
:digraph a\" 228
|
||||||
|
|
||||||
This defines that CTRL-K a" inserts an ä character. You can also specify the
|
This defines that CTRL-K a" inserts an ä character. Note: we had to escape
|
||||||
character with a decimal number. This defines the same digraph: >
|
the " character since otherwise it would act as a comment character.
|
||||||
|
|
||||||
:digraph a" 228
|
|
||||||
|
|
||||||
More information about digraphs here: |digraphs|
|
More information about digraphs here: |digraphs|
|
||||||
Another way to insert special characters is with a keymap. More about that
|
Another way to insert special characters is with a keymap. More about that
|
||||||
|
Reference in New Issue
Block a user