From ff53ca836ca8c05eebeabd6a2c4fb712c49a97bc Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 3 May 2014 18:56:21 -0300 Subject: Adding quit shortcut --- config.dot/luakit.link/binds.lua | 3 +++ 1 file changed, 3 insertions(+) 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", { -- cgit v1.2.3