aboutsummaryrefslogtreecommitdiff
path: root/config.dot/luakit.link/binds.lua
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-05-03 18:56:21 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-05-03 18:56:21 -0300
commitff53ca836ca8c05eebeabd6a2c4fb712c49a97bc (patch)
tree19b2190daed7d3edbe464ce2e5bc2d4da6b26eec /config.dot/luakit.link/binds.lua
parent3f8e3be77f68dc877d2f0be3b2409b269d63fd53 (diff)
downloadluakit-ff53ca836ca8c05eebeabd6a2c4fb712c49a97bc.tar.gz
luakit-ff53ca836ca8c05eebeabd6a2c4fb712c49a97bc.tar.bz2
Adding quit shortcut
Diffstat (limited to 'config.dot/luakit.link/binds.lua')
-rw-r--r--config.dot/luakit.link/binds.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.dot/luakit.link/binds.lua b/config.dot/luakit.link/binds.lua
index 4ba9e5d..cac303f 100644
--- a/config.dot/luakit.link/binds.lua
+++ b/config.dot/luakit.link/binds.lua
@@ -248,6 +248,9 @@ add_binds("normal", {
-- Enter passthrough mode
key({"Control"}, "z", function (w) w:set_mode("passthrough") end),
+
+ -- Quit shortcut
+ key({}, "q", function (w) w:save_session() w:close_win() end),
})
add_binds("insert", {