Mercurial > vim
comparison runtime/doc/map.txt @ 5692:80e5f9584b02
Update runtime files. Add Euphoria syntax files.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Mon, 24 Feb 2014 02:51:51 +0100 |
parents | 22da5ab9aaa1 |
children | 32de51778c27 |
comparison
equal
deleted
inserted
replaced
5691:a073747c2a1e | 5692:80e5f9584b02 |
---|---|
591 | 591 |
592 *map_return* | 592 *map_return* |
593 When you have a mapping that contains an Ex command, you need to put a line | 593 When you have a mapping that contains an Ex command, you need to put a line |
594 terminator after it to have it executed. The use of <CR> is recommended for | 594 terminator after it to have it executed. The use of <CR> is recommended for |
595 this (see |<>|). Example: > | 595 this (see |<>|). Example: > |
596 :map _ls :!ls -l %<CR>:echo "the end"<CR> | 596 :map _ls :!ls -l %:S<CR>:echo "the end"<CR> |
597 | 597 |
598 To avoid mapping of the characters you type in insert or Command-line mode, | 598 To avoid mapping of the characters you type in insert or Command-line mode, |
599 type a CTRL-V first. The mapping in Insert mode is disabled if the 'paste' | 599 type a CTRL-V first. The mapping in Insert mode is disabled if the 'paste' |
600 option is on. | 600 option is on. |
601 *map-error* | 601 *map-error* |