mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-06 08:14:13 +01:00
move global quit() command to a vimperator slot
This commit is contained in:
@@ -460,14 +460,14 @@ function Mappings() //{{{
|
||||
}
|
||||
));
|
||||
addDefaultMap(new Map(vimperator.modes.NORMAL, ["ZQ"],
|
||||
function(count) { quit(false); },
|
||||
function(count) { vimperator.quit(false); },
|
||||
{
|
||||
short_help: "Quit and don't save the session",
|
||||
help: "Works like <code class=\"command\">:qall</code>."
|
||||
}
|
||||
));
|
||||
addDefaultMap(new Map(vimperator.modes.NORMAL, ["ZZ"],
|
||||
function(count) { quit(true); },
|
||||
function(count) { vimperator.quit(true); },
|
||||
{
|
||||
short_help: "Quit and save the session",
|
||||
help: "Quit Vimperator, no matter how many tabs/windows are open. The session is stored.<br/>" +
|
||||
|
||||
Reference in New Issue
Block a user