mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 06:08:02 +01:00
* :redraw and ctrl-l commands
* \u\U changed to \l\L
This commit is contained in:
@@ -1051,6 +1051,18 @@ 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); },
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user