From 11a49f0d4d48b2c59a2ee90acfbe5c1bd0afeff0 Mon Sep 17 00:00:00 2001 From: Martin Stubenschrott Date: Fri, 7 Sep 2007 00:53:49 +0000 Subject: [PATCH] added :w -> :saveas alias, and changed :w[open] to :wo[pen] --- chrome/content/vimperator/commands.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chrome/content/vimperator/commands.js b/chrome/content/vimperator/commands.js index 80a60526..15f63d00 100644 --- a/chrome/content/vimperator/commands.js +++ b/chrome/content/vimperator/commands.js @@ -902,7 +902,7 @@ function Commands() //{{{ help: "Useful when installing extensions." } )); - addDefaultCommand(new Command(["sav[eas]"], + addDefaultCommand(new Command(["sav[eas]", "w[rite]"], function() { saveDocument(window.content.document); }, { short_help: "Save current web page to disk", @@ -1233,7 +1233,7 @@ function 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) { if (args)