]> gitweb.fluxo.info Git - rhatto/dotfiles/luakit.git/commitdiff
Adding quit shortcut
authorSilvio Rhatto <rhatto@riseup.net>
Sat, 3 May 2014 21:56:21 +0000 (18:56 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sat, 3 May 2014 21:56:21 +0000 (18:56 -0300)
config.dot/luakit.link/binds.lua

index 4ba9e5d6f95f539728c4bb2a802a09227154c949..cac303fb8622f37a9d2b2fd85d40dacf6f9d627f 100644 (file)
@@ -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", {