1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-30 05:02:28 +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:
Kris Maglione
2011-06-13 20:08:39 -04:00
parent a8fcabeaa4
commit c6067a5085
4 changed files with 28 additions and 4 deletions

View File

@@ -747,8 +747,9 @@ var Tabs = Module("tabs", {
});
commands.add(["quita[ll]", "qa[ll]"],
"Quit " + config.appName,
function (args) { dactyl.quit(false, args.bang); }, {
"Quit this " + config.appName + " window",
function (args) { window.close(); },
{
argCount: "0",
bang: true
});