Mercurial > vim
comparison runtime/doc/insert.txt @ 3492:3482d151136b
Updated runtime files.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 25 Apr 2012 19:07:41 +0200 |
parents | 4dde9b516e72 |
children | dd6c2497c997 |
comparison
equal
deleted
inserted
replaced
3491:5af3c91be43f | 3492:3482d151136b |
---|---|
1 *insert.txt* For Vim version 7.3. Last change: 2012 Apr 05 | 1 *insert.txt* For Vim version 7.3. Last change: 2012 Apr 20 |
2 | 2 |
3 | 3 |
4 VIM REFERENCE MANUAL by Bram Moolenaar | 4 VIM REFERENCE MANUAL by Bram Moolenaar |
5 | 5 |
6 | 6 |
381 mappings it's often better to use <Esc> (first put an "x" in the text, <Esc> | 381 mappings it's often better to use <Esc> (first put an "x" in the text, <Esc> |
382 will then always put the cursor on it). Or use CTRL-\ CTRL-O, but then | 382 will then always put the cursor on it). Or use CTRL-\ CTRL-O, but then |
383 beware of the cursor possibly being beyond the end of the line. | 383 beware of the cursor possibly being beyond the end of the line. |
384 | 384 |
385 The CTRL-O command takes you to Normal mode. If you then use a command enter | 385 The CTRL-O command takes you to Normal mode. If you then use a command enter |
386 Insert mode again it doesn't nest. Thus when typing "a<C-O>a" and then <Esc> | 386 Insert mode again it normally doesn't nest. Thus when typing "a<C-O>a" and |
387 takes you back to Normal mode, you do not need to type <Esc> twice. | 387 then <Esc> takes you back to Normal mode, you do not need to type <Esc> twice. |
388 An exception is when not typing the command, e.g. when executing a mapping or | |
389 sourcing a script. This makes mappings work that briefly switch to Insert | |
390 mode. | |
388 | 391 |
389 The shifted cursor keys are not available on all terminals. | 392 The shifted cursor keys are not available on all terminals. |
390 | 393 |
391 Another side effect is that a count specified before the "i" or "a" command is | 394 Another side effect is that a count specified before the "i" or "a" command is |
392 ignored. That is because repeating the effect of the command after CTRL-O is | 395 ignored. That is because repeating the effect of the command after CTRL-O is |