Mercurial > vim
comparison runtime/doc/insert.txt @ 10:4e2284e71352
updated for version 7.0002
author | vimboss |
---|---|
date | Thu, 24 Jun 2004 15:53:16 +0000 |
parents | 4102fb4ea781 |
children | bdeee1504ac1 |
comparison
equal
deleted
inserted
replaced
9:4102fb4ea781 | 10:4e2284e71352 |
---|---|
1 *insert.txt* For Vim version 7.0aa. Last change: 2004 Jun 16 | 1 *insert.txt* For Vim version 7.0aa. Last change: 2004 Jun 24 |
2 | 2 |
3 | 3 |
4 VIM REFERENCE MANUAL by Bram Moolenaar | 4 VIM REFERENCE MANUAL by Bram Moolenaar |
5 | 5 |
6 | 6 |
373 | 373 |
374 This redefines the backspace key to start a new undo sequence. You can now | 374 This redefines the backspace key to start a new undo sequence. You can now |
375 undo the effect of the backspace key, without changing what you typed before | 375 undo the effect of the backspace key, without changing what you typed before |
376 that, with CTRL-O u. | 376 that, with CTRL-O u. |
377 | 377 |
378 Using CTRL-O splits undo: the text typed before and after it is undone | |
379 separately. If you want to avoid this (e.g., in a mapping) you might be able | |
380 to use CTRL-R = |i_CTRL-R|. E.g., to call a function: > | |
381 :imap <F2> <C-R>=MyFunc()<CR> | |
382 | |
378 When the 'whichwrap' option is set appropriately, the <Left> and <Right> | 383 When the 'whichwrap' option is set appropriately, the <Left> and <Right> |
379 keys on the first/last character in the line make the cursor wrap to the | 384 keys on the first/last character in the line make the cursor wrap to the |
380 previous/next line. | 385 previous/next line. |
381 | 386 |
382 The CTRL-G j and CTRL-G k commands can be used to insert text in front of a | 387 The CTRL-G j and CTRL-G k commands can be used to insert text in front of a |