Mercurial > vim
comparison runtime/doc/vi_diff.txt @ 235:23d380e32c95
updated for version 7.0066
author | vimboss |
---|---|
date | Fri, 15 Apr 2005 20:41:38 +0000 |
parents | 3a28ed993bbe |
children | 81fe2ccc1207 |
comparison
equal
deleted
inserted
replaced
234:a686fd6c8beb | 235:23d380e32c95 |
---|---|
1 *vi_diff.txt* For Vim version 7.0aa. Last change: 2005 Feb 21 | 1 *vi_diff.txt* For Vim version 7.0aa. Last change: 2005 Apr 01 |
2 | 2 |
3 | 3 |
4 VIM REFERENCE MANUAL by Bram Moolenaar | 4 VIM REFERENCE MANUAL by Bram Moolenaar |
5 | 5 |
6 | 6 |
142 - IBM OS/390 | 142 - IBM OS/390 |
143 | 143 |
144 Multi level undo. |undo| | 144 Multi level undo. |undo| |
145 'u' goes backward in time, 'CTRL-R' goes forward again. Set option | 145 'u' goes backward in time, 'CTRL-R' goes forward again. Set option |
146 'undolevels' to the number of changes to be remembered (default 1000). | 146 'undolevels' to the number of changes to be remembered (default 1000). |
147 Set 'undolevels' to 0 for a vi-compatible one level undo. Set it to | 147 Set 'undolevels' to 0 for a vi-compatible one level undo. Set it to |
148 -1 for no undo at all. | 148 -1 for no undo at all. |
149 | 149 |
150 When all changes in a buffer have been undone, the buffer is not | 150 When all changes in a buffer have been undone, the buffer is not |
151 considered changed anymore. You can exit it with :q, without <!>. | 151 considered changed anymore. You can exit it with :q, without <!>. |
152 | 152 |
639 but "abc<NL>defabc<NL>defabc<NL>def" in Vim. | 639 but "abc<NL>defabc<NL>defabc<NL>def" in Vim. |
640 | 640 |
641 | 641 |
642 In Command-line mode: | 642 In Command-line mode: |
643 | 643 |
644 <Esc> terminates the command-line without executing it. In vi the command | 644 <Esc> terminates the command-line without executing it. In vi the command |
645 line would be executed, which is not what most people expect (hitting <Esc> | 645 line would be executed, which is not what most people expect (hitting <Esc> |
646 should always get you back to command mode). To avoid problems with some | 646 should always get you back to command mode). To avoid problems with some |
647 obscure macros, an <Esc> in a macro will execute the command. If you want a | 647 obscure macros, an <Esc> in a macro will execute the command. If you want a |
648 typed <Esc> to execute the command like vi does you can fix this with | 648 typed <Esc> to execute the command like vi does you can fix this with |
649 ":cmap ^V<Esc> ^V<CR>" | 649 ":cmap ^V<Esc> ^V<CR>" |