Mercurial > vim
comparison runtime/doc/eval.txt @ 1104:d75027183cf4 v7.0.230
updated for version 7.0-230
author | vimboss |
---|---|
date | Thu, 26 Apr 2007 15:06:45 +0000 |
parents | 4c8b90b7a94a |
children | 9cec4e0b792a |
comparison
equal
deleted
inserted
replaced
1103:95723058b8ff | 1104:d75027183cf4 |
---|---|
1 *eval.txt* For Vim version 7.0. Last change: 2006 Nov 01 | 1 *eval.txt* For Vim version 7.0. Last change: 2007 Apr 24 |
2 | 2 |
3 | 3 |
4 VIM REFERENCE MANUAL by Bram Moolenaar | 4 VIM REFERENCE MANUAL by Bram Moolenaar |
5 | 5 |
6 | 6 |
1621 getwinvar( {nr}, {varname}) any variable {varname} in window {nr} | 1621 getwinvar( {nr}, {varname}) any variable {varname} in window {nr} |
1622 glob( {expr}) String expand file wildcards in {expr} | 1622 glob( {expr}) String expand file wildcards in {expr} |
1623 globpath( {path}, {expr}) String do glob({expr}) for all dirs in {path} | 1623 globpath( {path}, {expr}) String do glob({expr}) for all dirs in {path} |
1624 has( {feature}) Number TRUE if feature {feature} supported | 1624 has( {feature}) Number TRUE if feature {feature} supported |
1625 has_key( {dict}, {key}) Number TRUE if {dict} has entry {key} | 1625 has_key( {dict}, {key}) Number TRUE if {dict} has entry {key} |
1626 haslocaldir() Number TRUE if current window executed |:lcd| | |
1626 hasmapto( {what} [, {mode} [, {abbr}]]) | 1627 hasmapto( {what} [, {mode} [, {abbr}]]) |
1627 Number TRUE if mapping to {what} exists | 1628 Number TRUE if mapping to {what} exists |
1628 histadd( {history},{item}) String add an item to a history | 1629 histadd( {history},{item}) String add an item to a history |
1629 histdel( {history} [, {item}]) String remove an item from a history | 1630 histdel( {history} [, {item}]) String remove an item from a history |
1630 histget( {history} [, {index}]) String get the item {index} from a history | 1631 histget( {history} [, {index}]) String get the item {index} from a history |
3014 | 3015 |
3015 has_key({dict}, {key}) *has_key()* | 3016 has_key({dict}, {key}) *has_key()* |
3016 The result is a Number, which is 1 if |Dictionary| {dict} has | 3017 The result is a Number, which is 1 if |Dictionary| {dict} has |
3017 an entry with key {key}. Zero otherwise. | 3018 an entry with key {key}. Zero otherwise. |
3018 | 3019 |
3020 haslocaldir() *haslocaldir()* | |
3021 The result is a Number, which is 1 when the current | |
3022 window has set a local path via |:lcd|, and 0 otherwise. | |
3019 | 3023 |
3020 hasmapto({what} [, {mode} [, {abbr}]]) *hasmapto()* | 3024 hasmapto({what} [, {mode} [, {abbr}]]) *hasmapto()* |
3021 The result is a Number, which is 1 if there is a mapping that | 3025 The result is a Number, which is 1 if there is a mapping that |
3022 contains {what} in somewhere in the rhs (what it is mapped to) | 3026 contains {what} in somewhere in the rhs (what it is mapped to) |
3023 and this mapping exists in one of the modes indicated by | 3027 and this mapping exists in one of the modes indicated by |