mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 15:48:00 +01:00
remove :redraw as it relys on a FF3 only feature
This commit is contained in:
1
NEWS
1
NEWS
@@ -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
|
||||||
|
|||||||
@@ -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); },
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -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); },
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user