summaryrefslogtreecommitdiff
path: root/.config/newsboat/config
diff options
context:
space:
mode:
authorkrolyxon <krolyxon@tutanota.com>2022-07-05 18:03:57 +0530
committerkrolyxon <krolyxon@tutanota.com>2022-07-05 18:03:57 +0530
commite824a57bca5547a46a57c6e33ecf50360e4ad9de (patch)
treec1d12d67a3c089f0341a16e451ce7c4ca5a2eb89 /.config/newsboat/config
parentd14a68c9384ac9e2b3578c561453e2c60c6d733f (diff)
newsboat config
Diffstat (limited to '.config/newsboat/config')
-rw-r--r--.config/newsboat/config47
1 files changed, 47 insertions, 0 deletions
diff --git a/.config/newsboat/config b/.config/newsboat/config
new file mode 100644
index 0000000..c97d1cb
--- /dev/null
+++ b/.config/newsboat/config
@@ -0,0 +1,47 @@
+auto-reload yes
+
+unbind-key j
+unbind-key k
+unbind-key h
+unbind-key H
+unbind-key L
+unbind-key c
+unbind-key ,
+browser "firefox %u"
+
+# Feed settings
+prepopulate-query-feeds yes
+refresh-on-startup yes
+
+macro w set browser "mpv %u" ; open-in-browser ; set browser "firefox %u"
+
+# bind keys
+bind-key ; macro-prefix
+bind-key h quit
+bind-key BACKSPACE quit
+bind-key j down
+bind-key k up
+bind-key l open
+bind-key H prev-feed
+bind-key L next-feed
+bind-key c toggle-show-read-feeds
+
+color listnormal cyan default
+color listfocus black yellow standout bold
+color listnormal_unread blue default
+color listfocus_unread yellow default bold
+color info red black bold
+color article white default bold
+
+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