Mercurial > vim
comparison runtime/doc/change.txt @ 42:c75153d791d0
updated for version 7.0026
author | vimboss |
---|---|
date | Wed, 29 Dec 2004 20:58:21 +0000 |
parents | f529edb9bab3 |
children | 04f2e519ab18 |
comparison
equal
deleted
inserted
replaced
41:f529edb9bab3 | 42:c75153d791d0 |
---|---|
1 *change.txt* For Vim version 7.0aa. Last change: 2004 Dec 24 | 1 *change.txt* For Vim version 7.0aa. Last change: 2004 Dec 29 |
2 | 2 |
3 | 3 |
4 VIM REFERENCE MANUAL by Bram Moolenaar | 4 VIM REFERENCE MANUAL by Bram Moolenaar |
5 | 5 |
6 | 6 |
983 1. Unnamed register "" *quote_quote* *quotequote* | 983 1. Unnamed register "" *quote_quote* *quotequote* |
984 Vim fills this register with text deleted with the "d", "c", "s", "x" commands | 984 Vim fills this register with text deleted with the "d", "c", "s", "x" commands |
985 or copied with the yank "y" command, regardless of whether or not a specific | 985 or copied with the yank "y" command, regardless of whether or not a specific |
986 register was used (e.g. "xdd). This is like the unnamed register is pointing | 986 register was used (e.g. "xdd). This is like the unnamed register is pointing |
987 to the last used register. An exception is the '_' register: "_dd does not | 987 to the last used register. An exception is the '_' register: "_dd does not |
988 store the deleted text in any register. Vim uses the contents of this | 988 store the deleted text in any register. |
989 register for any put command (p or P) which does not specify a register. | 989 Vim uses the contents of the unnamed register for any put command (p or P) |
990 Additionally you can access it with the name '"'. This means you have to type | 990 which does not specify a register. Additionally you can access it with the |
991 two double quotes. Writing to the "" register writes to register "0. | 991 name '"'. This means you have to type two double quotes. Writing to the "" |
992 register writes to register "0. | |
992 {Vi: register contents are lost when changing files, no '"'} | 993 {Vi: register contents are lost when changing files, no '"'} |
993 | 994 |
994 2. Numbered registers "0 to "9 *quote_number* *quote0* *quote1* | 995 2. Numbered registers "0 to "9 *quote_number* *quote0* *quote1* |
995 *quote2* *quote3* *quote4* *quote9* | 996 *quote2* *quote3* *quote4* *quote9* |
996 Vim fills these registers with text from yank and delete commands. | 997 Vim fills these registers with text from yank and delete commands. |
997 Numbered register 0 contains the text from the most recent yank command, | 998 Numbered register 0 contains the text from the most recent yank command, |
998 unless the command specified another register with ["x]. | 999 unless the command specified another register with ["x]. |
999 Numbered register 1 contains the text deleted by the most recent delete or | 1000 Numbered register 1 contains the text deleted by the most recent delete or |
1000 change command, unless the command specified another register or the text is | 1001 change command, unless the command specified another register or the text is |
1001 less than one line (the small delete register is used then). An exception is | 1002 less than one line (the small delete register is used then). An exception is |
1002 made for these commands: |%|, |(|, |)|, |`|, |/|, |?|, |n|, |N|, |{| and |}|. | 1003 made for the delete operator with these movement commands: |%|, |(|, |)|, |`|, |
1003 Register "1 is always used then (this is Vi compatible). The "- register is | 1004 |/|, |?|, |n|, |N|, |{| and |}|. Register "1 is always used then (this is Vi |
1004 used as well if the delete is within a line. | 1005 compatible). The "- register is used as well if the delete is within a line. |
1005 With each successive deletion or change, Vim shifts the previous contents | 1006 With each successive deletion or change, Vim shifts the previous contents |
1006 of register 1 into register 2, 2 into 3, and so forth, losing the previous | 1007 of register 1 into register 2, 2 into 3, and so forth, losing the previous |
1007 contents of register 9. | 1008 contents of register 9. |
1008 {Vi: numbered register contents are lost when changing files; register 0 does | 1009 {Vi: numbered register contents are lost when changing files; register 0 does |
1009 not exist} | 1010 not exist} |