Skip to content

Commit 6da7c8e

Browse files
committed
Update usr_24.{txt,jax}
1 parent 29aa0c0 commit 6da7c8e

File tree

2 files changed

+12
-14
lines changed

2 files changed

+12
-14
lines changed

doc/usr_24.jax

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*usr_24.txt* For Vim バージョン 9.1. Last change: 2025 Jun 02
1+
*usr_24.txt* For Vim バージョン 9.1. Last change: 2025 Jun 22
22

33
VIM USER MANUAL - by Bram Moolenaar
44

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

552-
自分でダイグラフを定義することもできます。例: >
552+
独自のダイグラフを定義するには、対象の文字を 10 進数で指定します。例: >
553553
554-
:digraph a" ä
554+
:digraph a\" 228
555555
556-
CTRL-K a" を入力すると ä になります。文字コードを 10 進数で指定することもでき
557-
ます。次のコマンドは上記のコマンドと同じです: >
558-
559-
:digraph a" 228
556+
これは、CTRL-K a" で ä 文字が挿入されることを定義します。Note: " 文字をエスケー
557+
プしないと、コメント文字として機能してしまうため、エスケープする必要がありまし
558+
た。
560559

561560
ダイグラフについての詳細は |digraphs| を参照してください。
562561
他にも、キーマップを使って特殊な文字を入力することもできます。詳しくは |45.5|

en/usr_24.txt

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*usr_24.txt* For Vim version 9.1. Last change: 2025 Jun 02
1+
*usr_24.txt* For Vim version 9.1. Last change: 2025 Jun 22
22

33
VIM USER MANUAL - by Bram Moolenaar
44

@@ -568,14 +568,13 @@ that combination. Thus CTRL-K dP also works. Since there is no digraph for
568568
using. Always use ":digraphs" to find out which digraphs are currently
569569
available.
570570

571-
You can define your own digraphs. Example: >
571+
You can define your own digraphs by specifying the target character with a
572+
decimal number. Example: >
572573
573-
:digraph a" ä
574+
:digraph a\" 228
574575
575-
This defines that CTRL-K a" inserts an ä character. You can also specify the
576-
character with a decimal number. This defines the same digraph: >
577-
578-
:digraph a" 228
576+
This defines that CTRL-K a" inserts an ä character. Note: we had to escape
577+
the " character since otherwise it would act as a comment character.
579578

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

0 commit comments

Comments
 (0)