From c91953ca7bcb4d89d7de35f6d0634fe6931d6fcd Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Tue, 22 Jan 2013 20:08:55 +0100 Subject: luakit: Add J,K binds for prev/next tab Inspired by vimium for chromium. :) --- .config/luakit/binds.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .config/luakit/binds.lua (limited to '.config') diff --git a/.config/luakit/binds.lua b/.config/luakit/binds.lua new file mode 100644 index 0000000..2fd6f91 --- /dev/null +++ b/.config/luakit/binds.lua @@ -0,0 +1,10 @@ +dofile("/etc/xdg/luakit/binds.lua") + +local key = lousy.bind.key + +add_binds("normal", { + key({}, "J", "Go to previous tab.", + function (w) w:prev_tab() end), + key({}, "K", "Go to next tab.", + function (w) w:next_tab() end), +}) -- cgit