Skip to content

Update usr_24.{txt,jax} #2113

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 25, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions doc/usr_24.jax
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*usr_24.txt* For Vim バージョン 9.1. Last change: 2025 Jun 02
*usr_24.txt* For Vim バージョン 9.1. Last change: 2025 Jun 22

VIM USER MANUAL - by Bram Moolenaar

Expand Down Expand Up @@ -549,14 +549,13 @@ Pd は Pound (ポンド) の略です。ほとんどのダイグラフには、
依存します。":digraphs" を使って、利用可能なダイグラフを確認してくださ
い。

自分でダイグラフを定義することもできます。例: >
独自のダイグラフを定義するには、対象の文字を 10 進数で指定します。例: >

:digraph a" ä
:digraph a\" 228

CTRL-K a" を入力すると ä になります。文字コードを 10 進数で指定することもでき
ます。次のコマンドは上記のコマンドと同じです: >

:digraph a" 228
これは、CTRL-K a" で ä 文字が挿入されることを定義します。Note: " 文字をエスケー
プしないと、コメント文字として機能してしまうため、エスケープする必要がありまし
た。

ダイグラフについての詳細は |digraphs| を参照してください。
他にも、キーマップを使って特殊な文字を入力することもできます。詳しくは |45.5|
Expand Down
13 changes: 6 additions & 7 deletions en/usr_24.txt
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -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
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
character with a decimal number. This defines the same digraph: >

:digraph a" 228
This defines that CTRL-K a" inserts an ä character. Note: we had to escape
the " character since otherwise it would act as a comment character.

More information about digraphs here: |digraphs|
Another way to insert special characters is with a keymap. More about that
Expand Down