From 71ede37ccd714994c3707d14a1db025bf5c81d88 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 18 Jan 2020 21:17:15 -0300 Subject: Feat: binding to reload all tabs --- config.dot/luakit.link/keys.lua | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/config.dot/luakit.link/keys.lua b/config.dot/luakit.link/keys.lua index f03a58f..1c53692 100644 --- a/config.dot/luakit.link/keys.lua +++ b/config.dot/luakit.link/keys.lua @@ -95,4 +95,12 @@ modes.add_binds("normal", { luakit.selection.clipboard = link w:notify("Yanked as shareable link: " .. link) end}, + + -- Reload all tabs + -- See https://www.reddit.com/r/luakit/comments/pjepd/bind_a_shortcut_to_reload_all_tabs/ + { "^R$", function (w) + for ti = 1, w.tabs:count() do + w.tabs:atindex(ti):reload() + end + end}, }) -- cgit v1.2.3