File tree Expand file tree Collapse file tree 2 files changed +12
-14
lines changed Expand file tree Collapse file tree 2 files changed +12
-14
lines changed Original file line number Diff line number Diff line change 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
2
2
3
3
VIM USER MANUAL - by Bram Moolenaar
4
4
@@ -549,14 +549,13 @@ Pd は Pound (ポンド) の略です。ほとんどのダイグラフには、
549
549
依存します。":digraphs" を使って、利用可能なダイグラフを確認してくださ
550
550
い。
551
551
552
- 自分でダイグラフを定義することもできます 。例: >
552
+ 独自のダイグラフを定義するには、対象の文字を 10 進数で指定します 。例: >
553
553
554
- :digraph a" ä
554
+ :digraph a\" 228
555
555
556
- CTRL-K a" を入力すると ä になります。文字コードを 10 進数で指定することもでき
557
- ます。次のコマンドは上記のコマンドと同じです: >
558
-
559
- :digraph a" 228
556
+ これは、CTRL-K a" で ä 文字が挿入されることを定義します。Note: " 文字をエスケー
557
+ プしないと、コメント文字として機能してしまうため、エスケープする必要がありまし
558
+ た。
560
559
561
560
ダイグラフについての詳細は | digraphs | を参照してください。
562
561
他にも、キーマップを使って特殊な文字を入力することもできます。詳しくは | 45.5 |
Original file line number Diff line number Diff line change 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
2
2
3
3
VIM USER MANUAL - by Bram Moolenaar
4
4
@@ -568,14 +568,13 @@ that combination. Thus CTRL-K dP also works. Since there is no digraph for
568
568
using. Always use ":digraphs" to find out which digraphs are currently
569
569
available.
570
570
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: >
572
573
573
- :digraph a" ä
574
+ :digraph a\" 228
574
575
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.
579
578
580
579
More information about digraphs here: | digraphs |
581
580
Another way to insert special characters is with a keymap. More about that
You can’t perform that action at this time.
0 commit comments