1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-22 10:47:57 +01:00

added :w -> :saveas alias, and changed :w[open] to :wo[pen]

This commit is contained in:
Martin Stubenschrott
2007-09-07 00:53:49 +00:00
parent 5263b351ac
commit 11a49f0d4d

View File

@@ -902,7 +902,7 @@ function Commands() //{{{
help: "Useful when installing extensions." help: "Useful when installing extensions."
} }
)); ));
addDefaultCommand(new Command(["sav[eas]"], addDefaultCommand(new Command(["sav[eas]", "w[rite]"],
function() { saveDocument(window.content.document); }, function() { saveDocument(window.content.document); },
{ {
short_help: "Save current web page to disk", short_help: "Save current web page to disk",
@@ -1233,7 +1233,7 @@ function Commands() //{{{
short_help: "Show help for normal mode commands" short_help: "Show help for normal mode commands"
} }
)); ));
addDefaultCommand(new Command(["wino[pen]", "w[open]", "wine[dit]"], addDefaultCommand(new Command(["wino[pen]", "wo[pen]", "wine[dit]"],
function(args) function(args)
{ {
if (args) if (args)