summaryrefslogtreecommitdiff
path: root/common/content/tabs.js
diff options
context:
space:
mode:
authorKris Maglione <maglione.k@gmail.com>2011-06-13 20:08:39 -0400
committerKris Maglione <maglione.k@gmail.com>2011-06-13 20:08:39 -0400
commitc6067a50856b123b8cdef954e065e5bf8039ec9d (patch)
tree804ce06d7f0376acd10e5897c52f6d72968dacbf /common/content/tabs.js
parenta8fcabeaa4bc53d40c2942db899a9f5769f80060 (diff)
downloadpentadactyl-c6067a50856b123b8cdef954e065e5bf8039ec9d.tar.gz
:qa closes the current window (because Vim habits are hard to break and shouldn't be destructive). :exit quits the app.
Diffstat (limited to 'common/content/tabs.js')
-rw-r--r--common/content/tabs.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/common/content/tabs.js b/common/content/tabs.js
index 368fc1e4..fee88c92 100644
--- a/common/content/tabs.js
+++ b/common/content/tabs.js
@@ -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
});