mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 08:57:59 +01:00
clarify :execute help
This commit is contained in:
@@ -221,6 +221,9 @@ const liberator = (function () //{{{
|
||||
"Execute the argument as an Ex command",
|
||||
// FIXME: this should evaluate each arg separately then join
|
||||
// with " " before executing.
|
||||
// E.g. :execute "source" io.getRCFile().path
|
||||
// Need to fix commands.parseArgs which currently strips the quotes
|
||||
// from quoted args
|
||||
function (args)
|
||||
{
|
||||
try
|
||||
|
||||
@@ -25,11 +25,13 @@ ________________________________________________________________________________
|
||||
|
||||
|
||||
|:exe| |:execute|
|
||||
||:exe[cute] {expr1} [ ... ]|| +
|
||||
||:exe[cute] {expr}|| +
|
||||
________________________________________________________________________________
|
||||
Execute the string that results from the evaluation of {expr1} as an Ex
|
||||
command. Example: [c]:execute echo "test"[c] shows a message with the text
|
||||
"test".
|
||||
Execute the string that results from the evaluation of {expr} as an Ex command.
|
||||
Example: [c]:execute "source " + io.getRCFile().path[c] sources the appropriate
|
||||
RC file.
|
||||
|
||||
Note: Unlike Vim this currently only supports a single argument.
|
||||
________________________________________________________________________________
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user