diff --git a/chrome/content/vimperator/commands.js b/chrome/content/vimperator/commands.js index 41b6c18d..9245eac0 100644 --- a/chrome/content/vimperator/commands.js +++ b/chrome/content/vimperator/commands.js @@ -780,10 +780,10 @@ function Commands() //{{{ "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> " + - "
  • Opened with the default search engine or keyword (specified with the 'defsearch' option) " + + "<Alias>myalias</Alias>
  • " + + "
  • Opened with the default search engine or keyword (specified with the 'defsearch' option) " + "if the first word is no search engine (:open linus torvalds will open a Google search for linux torvalds).
  • " + - "
  • Passed directly to Firefox in all other cases (:open www.osnews.com, www.slashdot.org will " + + "
  • Passed directly to Firefox in all other cases (:open www.osnews.com, www.slashdot.org will " + "open OSNews in the current, and Slashdot in a new background tab).
  • " + "" + "You WILL be able to use :open [-T \"linux\"] torvalds<Tab> to complete bookmarks " + @@ -1222,7 +1222,13 @@ function Commands() //{{{ } )); addDefaultCommand(new Command(["wino[pen]", "w[open]", "wine[dit]"], - function(args) { vimperator.open(args, vimperator.NEW_WINDOW); }, + function(args) + { + if (args) + vimperator.open(args, vimperator.NEW_WINDOW); + else + vimperator.open("about:blank", vimperator.NEW_WINDOW); + }, { usage: ["wino[pen] [url] [, url]"], short_help: "Open one or more URLs in a new window",