Mercurial > vim
comparison runtime/doc/eval.txt @ 1215:1d08aac0aea9
updated for version 7.1b
author | vimboss |
---|---|
date | Thu, 10 May 2007 18:29:51 +0000 |
parents | 9cec4e0b792a |
children | 54588e2e8041 |
comparison
equal
deleted
inserted
replaced
1214:a91a2e0c4108 | 1215:1d08aac0aea9 |
---|---|
1 *eval.txt* For Vim version 7.1a. Last change: 2007 May 03 | 1 *eval.txt* For Vim version 7.1b. Last change: 2007 May 07 |
2 | 2 |
3 | 3 |
4 VIM REFERENCE MANUAL by Bram Moolenaar | 4 VIM REFERENCE MANUAL by Bram Moolenaar |
5 | 5 |
6 | 6 |
1682 matchlist( {expr}, {pat}[, {start}[, {count}]]) | 1682 matchlist( {expr}, {pat}[, {start}[, {count}]]) |
1683 List match and submatches of {pat} in {expr} | 1683 List match and submatches of {pat} in {expr} |
1684 matchstr( {expr}, {pat}[, {start}[, {count}]]) | 1684 matchstr( {expr}, {pat}[, {start}[, {count}]]) |
1685 String {count}'th match of {pat} in {expr} | 1685 String {count}'th match of {pat} in {expr} |
1686 max({list}) Number maximum value of items in {list} | 1686 max({list}) Number maximum value of items in {list} |
1687 min({list}) Number minumum value of items in {list} | 1687 min({list}) Number minimum value of items in {list} |
1688 mkdir({name} [, {path} [, {prot}]]) | 1688 mkdir({name} [, {path} [, {prot}]]) |
1689 Number create directory {name} | 1689 Number create directory {name} |
1690 mode() String current editing mode | 1690 mode() String current editing mode |
1691 nextnonblank( {lnum}) Number line nr of non-blank line >= {lnum} | 1691 nextnonblank( {lnum}) Number line nr of non-blank line >= {lnum} |
1692 nr2char( {expr}) String single char with ASCII value {expr} | 1692 nr2char( {expr}) String single char with ASCII value {expr} |
2509 being executed these characters come after them. | 2509 being executed these characters come after them. |
2510 The function does not wait for processing of keys contained in | 2510 The function does not wait for processing of keys contained in |
2511 {string}. | 2511 {string}. |
2512 To include special keys into {string}, use double-quotes | 2512 To include special keys into {string}, use double-quotes |
2513 and "\..." notation |expr-quote|. For example, | 2513 and "\..." notation |expr-quote|. For example, |
2514 feedkeys("\<CR>") simulates pressing of the Enter key. But | 2514 feedkeys("\<CR>") simulates pressing of the <Enter> key. But |
2515 feedkeys('\<CR>') pushes 5 characters. | 2515 feedkeys('\<CR>') pushes 5 characters. |
2516 If {mode} is absent, keys are remapped. | 2516 If {mode} is absent, keys are remapped. |
2517 {mode} is a String, which can contain these character flags: | 2517 {mode} is a String, which can contain these character flags: |
2518 'm' Remap keys. This is default. | 2518 'm' Remap keys. This is default. |
2519 'n' Do not remap keys. | 2519 'n' Do not remap keys. |
3675 If {list} is not a list or one of the items in {list} cannot | 3675 If {list} is not a list or one of the items in {list} cannot |
3676 be used as a Number this results in an error. | 3676 be used as a Number this results in an error. |
3677 An empty |List| results in zero. | 3677 An empty |List| results in zero. |
3678 | 3678 |
3679 *min()* | 3679 *min()* |
3680 min({list}) Return the minumum value of all items in {list}. | 3680 min({list}) Return the minimum value of all items in {list}. |
3681 If {list} is not a list or one of the items in {list} cannot | 3681 If {list} is not a list or one of the items in {list} cannot |
3682 be used as a Number this results in an error. | 3682 be used as a Number this results in an error. |
3683 An empty |List| results in zero. | 3683 An empty |List| results in zero. |
3684 | 3684 |
3685 *mkdir()* *E739* | 3685 *mkdir()* *E739* |