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

remove :redraw as it relys on a FF3 only feature

This commit is contained in:
Doug Kearns
2007-10-22 01:37:18 +00:00
parent 7f3f2eac56
commit 0263e25443
3 changed files with 1 additions and 20 deletions

1
NEWS
View File

@@ -1,6 +1,7 @@
<pre> <pre>
2007-XX-XX: 2007-XX-XX:
* version 0.5.3 * version 0.5.3
* remove :redraw and Ctrl-L commands as they rely on FF3 features
* :ls, :history and :bmarks output is now hyperlinked * :ls, :history and :bmarks output is now hyperlinked
* new gb and gB mappings to repeat the last :buffer[!] command, * 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 * :q doesn't close the whole browser, if there are more than one windows

View File

@@ -1106,18 +1106,6 @@ function Commands() //{{{
help: "Quit Vimperator, no matter how many tabs/windows are open. The session is not stored." 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]"], addDefaultCommand(new Command(["re[load]"],
function(args, special) { vimperator.tabs.reload(getBrowser().mCurrentTab, special); }, function(args, special) { vimperator.tabs.reload(getBrowser().mCurrentTab, special); },
{ {

View File

@@ -597,14 +597,6 @@ function Mappings() //{{{
"Whether the new buffer is activated, depends on the <code class=\"option\">'activate'</code> option." "Whether the new buffer is activated, depends on the <code class=\"option\">'activate'</code> option."
} }
)); ));
addDefaultMap(new Map([vimperator.modes.NORMAL], ["<C-l>"],
function(count) { vimperator.commands.redraw(); },
{
short_help: "Redraw the screen",
help: "Works like <code class=\"command\">:redraw</code>.",
flags: Mappings.flags.COUNT
}
));
addDefaultMap(new Map(vimperator.modes.NORMAL, ["r"], addDefaultMap(new Map(vimperator.modes.NORMAL, ["r"],
function() { vimperator.tabs.reload(getBrowser().mCurrentTab, false); }, function() { vimperator.tabs.reload(getBrowser().mCurrentTab, false); },
{ {