Add discardall command to RC

This commit is contained in:
Oliver Blanthorn 2021-05-01 17:23:00 +02:00
parent e5b9f4118a
commit 91ee67b6e1
No known key found for this signature in database
GPG key ID: 2BB8C36BB504BFF3

View file

@ -85,6 +85,9 @@ command hint_focus hint -;
" Open right click menu on links " Open right click menu on links
bind ;C composite hint_focus; !s xdotool key Menu bind ;C composite hint_focus; !s xdotool key Menu
" Suspend / "discard" all tabs - handy for stretching out battery life
command discardall jsb browser.tabs.query({}).then(ts => browser.tabs.discard(ts.map(t=>t.id)))
" Julia docs' built in search is bad " Julia docs' built in search is bad
set searchurls.julia https://www.google.com/search?q=site:http://docs.julialang.org/en/v1%20 set searchurls.julia https://www.google.com/search?q=site:http://docs.julialang.org/en/v1%20