mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-03 07:44:13 +01:00
:qa closes the current window (because Vim habits are hard to break and shouldn't be destructive). :exit quits the app.
This commit is contained in:
@@ -1839,6 +1839,15 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), {
|
||||
literal: 0
|
||||
});
|
||||
|
||||
commands.add(["exit", "x"],
|
||||
"Quit " + config.appName,
|
||||
function (args) {
|
||||
dactyl.quit(false, args.bang);
|
||||
}, {
|
||||
argCount: "0",
|
||||
bang: true
|
||||
});
|
||||
|
||||
commands.add(["q[uit]"],
|
||||
dactyl.has("tabs") ? "Quit current tab" : "Quit application",
|
||||
function (args) {
|
||||
|
||||
Reference in New Issue
Block a user