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() //{{{ "" + "
  • Opened with the specified search engine if the token looks like a search string " + - "and the first word is the name of a search engine (: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>
  • " + diff --git a/chrome/content/vimperator/help.js b/chrome/content/vimperator/help.js index e93455de..cf011808 100644 --- a/chrome/content/vimperator/help.js +++ b/chrome/content/vimperator/help.js @@ -153,7 +153,7 @@ vimperator.help = function(section, easter) //{{{ 'For the best experience, I therefore recommend the Whitehart theme or any other flat theme.

    \n' + '

    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' + '
    \n
    ' + '' + diff --git a/chrome/content/vimperator/vimperator.js b/chrome/content/vimperator/vimperator.js index 1250709f..614ec948 100644 --- a/chrome/content/vimperator/vimperator.js +++ b/chrome/content/vimperator/vimperator.js @@ -161,7 +161,7 @@ const vimperator = (function() //{{{ //}, // ###VERSION### and ###DATE### are replaced by the Makefile - version: "###VERSION### CVS (created: ###DATE###)", + version: "###VERSION### (created: ###DATE###)", input: { buffer: "", // partial command storage