From 208ecf206edaa6426128d9999563af5c3e18fadd Mon Sep 17 00:00:00 2001 From: "Adam T. Carpenter" Date: Tue, 24 Nov 2020 08:11:46 -0500 Subject: Init --- .config/newsboat/config | 71 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 .config/newsboat/config (limited to '.config/newsboat') diff --git a/.config/newsboat/config b/.config/newsboat/config new file mode 100644 index 0000000..93c773b --- /dev/null +++ b/.config/newsboat/config @@ -0,0 +1,71 @@ +prepopulate-query-feeds yes + +urls-source "ocnews" +ocnews-url "https://nextcloud.53hor.net" +ocnews-login "adam" +ocnews-passwordfile "~/.config/newsboat/ocnews-password" + +# -- display ------------------------------------------------------------------- + +show-read-feeds yes +feed-sort-order unreadarticlecount-asc + +color info default default reverse +color listnormal_unread cyan default +color listfocus blue default reverse bold +color listfocus_unread blue default reverse bold +color article cyan default +color listnormal yellow default + +text-width 80 + +articlelist-format "%4i %f %D %?T?|%-17T| ?%t" + +highlight feedlist "^ *[0-9]+ *N " magenta magenta +highlight articlelist "^ *[0-9]+ *N " magenta magenta + +highlight article "(^Feed:.*|^Title:.*|^Author:.*)" red default +highlight article "(^Link:.*|^Date:.*)" white default +highlight article "^Podcast Download URL:.*" cyan default +highlight article "^Links:" magenta black underline +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 + + +# -- navigation ---------------------------------------------------------------- + +goto-next-feed no + +#browser "xdg-open" # This will open the browser defined by xdg-settings +browser "firefox" + +# Below bindings apply vim like keybindings in most places + +bind-key h quit articlelist +bind-key h quit article +bind-key h quit tagselection +bind-key h quit feedlist +bind-key j down feedlist +bind-key j down tagselection +bind-key j next articlelist +bind-key j down article +bind-key J next-feed articlelist +bind-key k up feedlist +bind-key k prev articlelist +bind-key k up tagselection +bind-key K prev-feed articlelist +bind-key k up article +bind-key l open articlelist +bind-key l open feedlist +bind-key l open tagselection +bind-key G end +bind-key g home +bind-key d pagedown +bind-key u pageup +bind-key s toggle-show-read-feeds -- cgit v1.2.3