aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-09-22 07:54:54 -0300
committerSilvio Rhatto <rhatto@riseup.net>2017-09-22 07:54:54 -0300
commitfef2345a272fb3ff8e1f270c743519c81c938d5f (patch)
tree7a4e39fec5e1e054b12a9470dcd404d94962b62d
parent4a62eaa1a12e876e2c872d31caf85d9b9fc8a520 (diff)
downloadluakit-fef2345a272fb3ff8e1f270c743519c81c938d5f.tar.gz
luakit-fef2345a272fb3ff8e1f270c743519c81c938d5f.tar.bz2
Adds back/forward bindings
-rw-r--r--config.dot/luakit.link/keys.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/config.dot/luakit.link/keys.lua b/config.dot/luakit.link/keys.lua
index d1f16c7..61e5ea0 100644
--- a/config.dot/luakit.link/keys.lua
+++ b/config.dot/luakit.link/keys.lua
@@ -11,6 +11,8 @@ modes.remove_binds("normal", { "y" })
-- Add custom binds
modes.add_binds("normal", {
+ { "b", "Go back in the browser history `[count=1]` items.", function (w, m) w:back(m.count) end },
+ { "f", "Go forward in the browser history `[count=1]` times.", function (w, m) w:forward(m.count) end },
{ "h", "New blank tab", function (w)
w:new_tab('luakit://newtab')
end},