diff options
| author | Adam T. Carpenter <atc@53hor.net> | 2020-11-24 08:11:46 -0500 | 
|---|---|---|
| committer | Adam T. Carpenter <atc@53hor.net> | 2020-11-24 08:11:46 -0500 | 
| commit | 208ecf206edaa6426128d9999563af5c3e18fadd (patch) | |
| tree | a2cbb6d09a5a6a5caa0f6a7ac99826f30283b775 /.config/newsboat/config | |
| download | dotfiles-208ecf206edaa6426128d9999563af5c3e18fadd.tar.xz dotfiles-208ecf206edaa6426128d9999563af5c3e18fadd.zip | |
Init
Diffstat (limited to '.config/newsboat/config')
| -rw-r--r-- | .config/newsboat/config | 71 | 
1 files changed, 71 insertions, 0 deletions
| 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 |