Mercurial > vim
comparison runtime/doc/usr_24.txt @ 13482:9eebe457eb3c
Update runtime files. Convert a couple of help files to utf-8.
commit https://github.com/vim/vim/commit/98ef233e14faaaf42e0342da1803d493ce0337b2
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Mar 18 14:44:37 2018 +0100
Update runtime files. Convert a couple of help files to utf-8.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 18 Mar 2018 15:00:07 +0100 |
parents | 9f48eab77d62 |
children | 1174611ad715 |
comparison
equal
deleted
inserted
replaced
13481:cd85b03c9fe2 | 13482:9eebe457eb3c |
---|---|
1 *usr_24.txt* For Vim version 8.0. Last change: 2006 Jul 23 | 1 *usr_24.txt* For Vim version 8.0. Last change: 2018 Mar 18 |
2 | 2 |
3 VIM USER MANUAL - by Bram Moolenaar | 3 VIM USER MANUAL - by Bram Moolenaar |
4 | 4 |
5 Inserting quickly | 5 Inserting quickly |
6 | 6 |
536 | 536 |
537 ============================================================================== | 537 ============================================================================== |
538 *24.9* Digraphs | 538 *24.9* Digraphs |
539 | 539 |
540 Some characters are not on the keyboard. For example, the copyright character | 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 | 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: > | 542 represent one. To enter a ©, for example, you press three keys: > |
543 | 543 |
544 CTRL-K Co | 544 CTRL-K Co |
545 | 545 |
546 To find out what digraphs are available, use the following command: > | 546 To find out what digraphs are available, use the following command: > |
547 | 547 |
548 :digraphs | 548 :digraphs |
549 | 549 |
550 Vim will display the digraph table. Here are three lines of it: | 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 ~ | 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 ~ | 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 ~ | 554 --  173 Rg ® 174 'm ¯ 175 DG ° 176 +- ± 177 2S ² 178 3S ³ 179 ~ |
555 | 555 |
556 This shows, for example, that the digraph you get by typing CTRL-K Pd is the | 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 Pd is short for Pound. Most digraphs are selected to give you a hint about | 558 Pd is short for Pound. Most digraphs are selected to give you a hint about |
559 the character they will produce. If you look through the list you will | 559 the character they will produce. If you look through the list you will |
560 understand the logic. | 560 understand the logic. |
561 You can exchange the first and second character, if there is no digraph for | 561 You can exchange the first and second character, if there is no digraph for |
562 that combination. Thus CTRL-K dP also works. Since there is no digraph for | 562 that combination. Thus CTRL-K dP also works. Since there is no digraph for |
567 using. On MS-DOS they are different from MS-Windows. Always use | 567 using. On MS-DOS they are different from MS-Windows. Always use |
568 ":digraphs" to find out which digraphs are currently available. | 568 ":digraphs" to find out which digraphs are currently available. |
569 | 569 |
570 You can define your own digraphs. Example: > | 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 character with a decimal number. This defines the same digraph: > | 575 character with a decimal number. This defines the same digraph: > |
576 | 576 |
577 :digraph a" 228 | 577 :digraph a" 228 |
578 | 578 |
579 More information about digraphs here: |digraphs| | 579 More information about digraphs here: |digraphs| |