diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2020-01-18 21:17:15 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2020-01-18 21:17:15 -0300 |
commit | 71ede37ccd714994c3707d14a1db025bf5c81d88 (patch) | |
tree | 90dce4ce27d9ec3f1f22bd7e1c9ea87e92af2a51 | |
parent | 0a74f77fae860461ab77c40ab352d96c23c14638 (diff) | |
download | luakit-71ede37ccd714994c3707d14a1db025bf5c81d88.tar.gz luakit-71ede37ccd714994c3707d14a1db025bf5c81d88.tar.bz2 |
Feat: binding to reload all tabs
-rw-r--r-- | config.dot/luakit.link/keys.lua | 8 |
1 files changed, 8 insertions, 0 deletions
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}, }) |