From: Silvio Rhatto Date: Sat, 3 May 2014 21:56:21 +0000 (-0300) Subject: Adding quit shortcut X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=ff53ca836ca8c05eebeabd6a2c4fb712c49a97bc;p=rhatto%2Fdotfiles%2Fluakit.git Adding quit shortcut --- 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", {