summaryrefslogtreecommitdiff
path: root/.config/newsboat/config
blob: 3eb2cbda7a359b2940274e5e740a55e6af5e0748 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
prepopulate-query-feeds yes

urls-source "ocnews"
ocnews-url "https://nextcloud.53hor.net"
ocnews-login "53hornet"
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