Mercurial > vim
diff 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 |
line wrap: on
line diff
--- a/runtime/doc/insert.txt +++ b/runtime/doc/insert.txt @@ -1,4 +1,4 @@ -*insert.txt* For Vim version 7.0aa. Last change: 2004 Jun 16 +*insert.txt* For Vim version 7.0aa. Last change: 2004 Jun 24 VIM REFERENCE MANUAL by Bram Moolenaar @@ -375,6 +375,11 @@ This redefines the backspace key to star undo the effect of the backspace key, without changing what you typed before that, with CTRL-O u. +Using CTRL-O splits undo: the text typed before and after it is undone +separately. If you want to avoid this (e.g., in a mapping) you might be able +to use CTRL-R = |i_CTRL-R|. E.g., to call a function: > + :imap <F2> <C-R>=MyFunc()<CR> + When the 'whichwrap' option is set appropriately, the <Left> and <Right> keys on the first/last character in the line make the cursor wrap to the previous/next line.