From 5abcf8fefe988a80988454a4074bd034b591bdc4 Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Sat, 8 Sep 2007 10:08:07 +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)