summaryrefslogtreecommitdiffstats
path: root/.config/newsboat/config
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.config/newsboat/config52
1 files changed, 52 insertions, 0 deletions
diff --git a/.config/newsboat/config b/.config/newsboat/config
new file mode 100644
index 0000000..3ebd65a
--- /dev/null
+++ b/.config/newsboat/config
@@ -0,0 +1,52 @@
+#how-read-feeds no
+auto-reload yes
+
+external-url-viewer "urlview"
+
+bind-key j down
+bind-key k up
+bind-key j next articlelist
+bind-key k prev articlelist
+bind-key J next-feed articlelist
+bind-key K prev-feed articlelist
+bind-key G end
+bind-key g home
+bind-key d pagedown
+bind-key u pageup
+bind-key l open
+bind-key h quit
+bind-key a toggle-article-read
+bind-key n next-unread
+bind-key N prev-unread
+bind-key D pb-download
+bind-key U show-urls
+bind-key v show-urls
+bind-key x pb-delete
+bind-key ^t next-unread
+
+color listnormal cyan default
+color listfocus black yellow standout
+color listnormal_unread blue default bold
+color listfocus_unread yellow default bold
+color info yellow black bold
+color article white default
+
+browser linkhandler
+macro , open-in-browser
+macro t set browser "youtube-dl --add-metadata -ic"; open-in-browser ; set browser linkhandler
+macro a set browser "youtube-dl --add-metadata -xic -f bestaudio/best"; open-in-browser ; set browser linkhandler
+macro v set browser "mpv-view.pl"; open-in-browser ; set browser linkhandler
+macro w set browser "w3m"; open-in-browser ; set browser linkhandler
+
+highlight all "---.*---" yellow
+highlight feedlist ".*(0/0))" black
+highlight article "(^Feed:.*|^Title:.*|^Author:.*)" cyan default bold
+highlight article "(^Link:.*|^Date:.*)" default default
+highlight article "https?://[^ ]+" green default
+highlight article "^(Title):.*$" blue default
+highlight article "\\[[0-9][0-9]*\\]" magenta default bold
+highlight article "\\[image\\ [0-9]+\\]" green default bold
+highlight article "\\[embedded flash: [0-9][0-9]*\\]" green default bold
+highlight article ":.*\\(link\\)$" cyan default
+highlight article ":.*\\(image\\)$" blue default
+highlight article ":.*\\(embedded flash\\)$" magenta default