commit e63b8c5442473e9938d723d7dd1c74e1d25c655d
parent 7d0ce75f33b45664b343b7fee5888e3425319a14
Author: Alex Balgavy <a.balgavy@gmail.com>
Date: Thu, 15 Oct 2020 14:41:22 +0200
newsboat: use space for macros like in Vim
Former-commit-id: 8af686f391500902ec121d31873a1905f338f5ce
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/newsboat/config b/newsboat/config
@@ -47,7 +47,9 @@ color listfocus_unread white blue standout
color listnormal_unread white default
browser "linkhandler %u"
-macro , set browser "open -g %u"; open-in-browser; set browser "linkhandler %u"
+unbind-key ,
+bind-key SPACE macro-prefix
+macro SPACE set browser "open -g %u"; open-in-browser; set browser "linkhandler %u"
macro v set browser "linkhandler"; open-in-browser ; set browser "linkhandler %u"
macro w set browser "w3m -config ~/.config/w3m/config %u"; open-in-browser; set browser "linkhandler %u"
macro i set browser "youtube-dl --get-title --get-duration --get-description %u | less"; open-in-browser; set browser "linkhandler %u"