diff --git a/NEWS b/NEWS index aa7c1d23..8ad8eba9 100644 --- a/NEWS +++ b/NEWS @@ -1,6 +1,7 @@
2007-XX-XX:
* version 0.5.3
+ * remove :redraw and Ctrl-L commands as they rely on FF3 features
* :ls, :history and :bmarks output is now hyperlinked
* new gb and gB mappings to repeat the last :buffer[!] command,
* :q doesn't close the whole browser, if there are more than one windows
diff --git a/content/commands.js b/content/commands.js
index 13966d87..0fd7c8d3 100644
--- a/content/commands.js
+++ b/content/commands.js
@@ -1106,18 +1106,6 @@ function Commands() //{{{
help: "Quit Vimperator, no matter how many tabs/windows are open. The session is not stored."
}
));
- addDefaultCommand(new Command(["redr[aw]"],
- function()
- {
- var wu = window.QueryInterface(Components.interfaces.nsIInterfaceRequestor).
- getInterface(Components.interfaces.nsIDOMWindowUtils);
- wu.redraw();
- },
- {
- short_help: "Redraw the screen",
- help: "Useful to update the screen halfway executing a script or function."
- }
- ));
addDefaultCommand(new Command(["re[load]"],
function(args, special) { vimperator.tabs.reload(getBrowser().mCurrentTab, special); },
{
diff --git a/content/mappings.js b/content/mappings.js
index 8ac77dc4..011ffaa0 100644
--- a/content/mappings.js
+++ b/content/mappings.js
@@ -597,14 +597,6 @@ function Mappings() //{{{
"Whether the new buffer is activated, depends on the 'activate' option."
}
));
- addDefaultMap(new Map([vimperator.modes.NORMAL], [""],
- function(count) { vimperator.commands.redraw(); },
- {
- short_help: "Redraw the screen",
- help: "Works like :redraw.",
- flags: Mappings.flags.COUNT
- }
- ));
addDefaultMap(new Map(vimperator.modes.NORMAL, ["r"],
function() { vimperator.tabs.reload(getBrowser().mCurrentTab, false); },
{