Mercurial > vim
comparison runtime/doc/various.txt @ 777:f664cc974a7a
updated for version 7.0227
author | vimboss |
---|---|
date | Fri, 17 Mar 2006 23:19:38 +0000 |
parents | 0f9f4761ad9c |
children | f19994020dad |
comparison
equal
deleted
inserted
replaced
776:5a5a080c2776 | 777:f664cc974a7a |
---|---|
1 *various.txt* For Vim version 7.0aa. Last change: 2006 Mar 05 | 1 *various.txt* For Vim version 7.0aa. Last change: 2006 Mar 17 |
2 | 2 |
3 | 3 |
4 VIM REFERENCE MANUAL by Bram Moolenaar | 4 VIM REFERENCE MANUAL by Bram Moolenaar |
5 | 5 |
6 | 6 |
64 character under the cursor, assuming it is in |UTF-8| | 64 character under the cursor, assuming it is in |UTF-8| |
65 encoding. This also shows composing characters. The | 65 encoding. This also shows composing characters. The |
66 value of 'maxcombine' doesn't matter. | 66 value of 'maxcombine' doesn't matter. |
67 Example of a character with two composing characters: | 67 Example of a character with two composing characters: |
68 e0 b8 81 + e0 b8 b9 + e0 b9 89 ~ | 68 e0 b8 81 + e0 b8 b9 + e0 b9 89 ~ |
69 {not in Vi} | 69 {not in Vi} {only when compiled with the |+multi_byte| |
70 feature} | |
71 | |
72 *8g8* | |
73 8g8 Find an illegal UTF-8 byte sequence at or after the | |
74 cursor. This works in two situations: | |
75 1. when 'encoding' is any 8-bit encoding | |
76 2. when 'encoding' is "utf-8" and 'fileencoding' is | |
77 any 8-bit encoding | |
78 Thus it can be used when editing a file that was | |
79 supposed to be UTF-8 but was read as if it is an 8-bit | |
80 encoding because it contains illegal bytes. | |
81 Does not wrap around the end of the file. | |
82 Note that when the cursor is on an illegal byte or the | |
83 cursor is halfway a multi-byte character the command | |
84 won't move the cursor. | |
85 {not in Vi} {only when compiled with the |+multi_byte| | |
86 feature} | |
70 | 87 |
71 *:p* *:pr* *:print* | 88 *:p* *:pr* *:print* |
72 :[range]p[rint] [flags] | 89 :[range]p[rint] [flags] |
73 Print [range] lines (default current line). | 90 Print [range] lines (default current line). |
74 Note: If you are looking for a way to print your text | 91 Note: If you are looking for a way to print your text |