diff --git a/chrome/content/vimperator/commands.js b/chrome/content/vimperator/commands.js
index a474a823..9b449eb9 100644
--- a/chrome/content/vimperator/commands.js
+++ b/chrome/content/vimperator/commands.js
@@ -462,7 +462,7 @@ function Commands() //{{{
{
short_help: "Show progress of current downloads",
help: "Open the original Firefox download dialog in a new tab.
" +
- "Here, downloads can be paused, cancelled and resumed."
+ "Here, downloads can be paused, canceled and resumed."
}
));
addDefaultCommand(new Command(["ec[ho]"],
@@ -598,9 +598,10 @@ function Commands() //{{{
return;
}
- var matches = args.match(/^([^ ]+)(?:\s+(.+))?$/);
+ var matches = args.match(/^([^\s]+)\s+(.+)$/);
var [lhs, rhs] = [matches[1], matches[2]];
+ // alert(">>" + lhs + "<<");
if (rhs)
{
vimperator.mappings.add(new Map(vimperator.modes.NORMAL, [lhs],
@@ -777,7 +778,7 @@ function Commands() //{{{
"
:open ... with current location \"http://www.example.com/dir1/dir2/file.html\" will open \"http://www.example.com\":open ./foo.html with current location \"http://www.example.com/dir1/dir2/file.html\" will open \"http://www.example.com/dir1/dir2/foo.html\":open Wikipedia linus torvalds " +
+ "and the first word is the name of a search engine (:open wikipedia linus torvalds " +
"will open the wikipedia entry for linus torvalds). The short name of a search engine is automatically guessed from its name. " +
"If you want to set a custom name, open the $FIREFOX_PROFILE/searchplugins/*.xml file of the search engine, and add/change " +
"<Alias>myalias</Alias> Vimperator was written by Martin Stubenschrott. ' + - 'If you appreciate my work on Vimperator and want to encourge me working on it more, you can either send me greetings, patches or make a donation:
\n' + + 'If you appreciate my work on Vimperator and want to encourge me to work more on it, you can either send me greetings, patches or make a donation: \n' + '