1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-22 11:17:58 +01:00

new :winclose command

This commit is contained in:
Martin Stubenschrott
2007-10-17 21:01:13 +00:00
parent 6ab3f8b8a6
commit 58f2af3d1b
3 changed files with 13 additions and 3 deletions

View File

@@ -1948,6 +1948,16 @@ function Commands() //{{{
short_help: "Show help for normal mode commands"
}
));
addDefaultCommand(new Command(["winc[lose]", "wc[lose]"],
function(args)
{
window.close();
},
{
usage: ["winc[ose] [url] [, url]"],
short_help: "Close window",
}
));
addDefaultCommand(new Command(["wino[pen]", "wo[pen]", "wine[dit]"],
function(args)
{
@@ -1959,7 +1969,7 @@ function Commands() //{{{
{
usage: ["wino[pen] [url] [, url]"],
short_help: "Open one or more URLs in a new window",
help: "NOTE: Multiple windows are not really supported by Vimperator, use at your own risk!"
help: "Like <code class=\"command\">:open</code> but open URLs in a new window.<br/>"
}
));
addDefaultCommand(new Command(["wqa[ll]", "wq", "xa[ll]"],