summaryrefslogblamecommitdiff
path: root/.config/newsboat/config
blob: 93c773bee640e2199d970bbf75749edadec930e2 (plain) (tree)






































































                                                                                       
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