1
- *usr_24.txt* For Vim version 8.0 . Last change: 2006 Jul 23
1
+ *usr_24.txt* For Vim version 8.1 . Last change: 2018 Mar 18
2
2
3
3
VIM USER MANUAL - by Bram Moolenaar
4
4
@@ -538,8 +538,8 @@ a 16 bit and a 32 bit number (e.g., for a Unicode character): >
538
538
*24.9* Digraphs
539
539
540
540
Some characters are not on the keyboard. For example, the copyright character
541
- (©). To type these characters in Vim, you use digraphs, where two characters
542
- represent one. To enter a ©, for example, you press three keys: >
541
+ (©). To type these characters in Vim, you use digraphs, where two characters
542
+ represent one. To enter a ©, for example, you press three keys: >
543
543
544
544
CTRL-K Co
545
545
@@ -549,12 +549,12 @@ To find out what digraphs are available, use the following command: >
549
549
550
550
Vim will display the digraph table. Here are three lines of it:
551
551
552
- AC ~_ 159 NS | 160 !I ¡ 161 Ct ¢ 162 Pd £ 163 Cu ¤ 164 Ye ¥ 165 ~
553
- BB ¦ 166 SE § 167 ': ¨ 168 Co © 169 -a ª 170 << « 171 NO ¬ 172 ~
554
- -- 173 Rg ® 174 'm ¯ 175 DG ° 176 +- ± 177 2S ² 178 3S ³ 179 ~
552
+ AC ~_ 159 NS | 160 !I ¡ 161 Ct ¢ 162 Pd £ 163 Cu ¤ 164 Ye ¥ 165 ~
553
+ BB ¦ 166 SE § 167 ': ¨ 168 Co © 169 -a ª 170 << « 171 NO ¬ 172 ~
554
+ -- 173 Rg ® 174 'm ¯ 175 DG ° 176 +- ± 177 2S ² 178 3S ³ 179 ~
555
555
556
556
This shows, for example, that the digraph you get by typing CTRL-K Pd is the
557
- character (£). This is character number 163 (decimal).
557
+ character (£). This is character number 163 (decimal).
558
558
Pd is short for Pound. Most digraphs are selected to give you a hint about
559
559
the character they will produce. If you look through the list you will
560
560
understand the logic.
@@ -569,9 +569,9 @@ that combination. Thus CTRL-K dP also works. Since there is no digraph for
569
569
570
570
You can define your own digraphs. Example: >
571
571
572
- :digraph a" ä
572
+ :digraph a" ä
573
573
574
- This defines that CTRL-K a" inserts an ä character. You can also specify the
574
+ This defines that CTRL-K a" inserts an ä character. You can also specify the
575
575
character with a decimal number. This defines the same digraph: >
576
576
577
577
:digraph a" 228
0 commit comments