-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnewsboat
executable file
·73 lines (63 loc) · 2.53 KB
/
newsboat
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
72
73
# Newsboat Config File
# https://newsboat.org/releases/2.10/docs/newsboat.html
refresh-on-startup yes # Self explanatory
reload-time 5 # Reload interval in minutes
reload-threads 100 # Multiple feeds reload at once
save-path "~/Downloads" # The path where articles are saved to. If an invalid path is specified, the current directory is used.
browser "~/git/sh/determine_browser.sh %u" # Command for opening links
datetime-format "%m-%d %R" # Self-explanatory
feedlist-title-format "Feeds (%u/%t)" # Format of the title in feed list. See "Format Strings" section of Newsboat manual for details on available formats.
articlelist-format "%3i %f %D %?T?|%-17T| ?%t" # Format of articles in specific feeds
show-title-bar no
keep-articles-days 60
max-items 300
always-display-description yes
download-full-page yes
goto-next-feed no
refresh-on-startup yes
scrolloff 3
suppress-first-reload yes
text-width 80
# Color chart link:
# http://www.calmar.ws/vim/256-xterm-24bit-rgb-color-chart.html
color listfocus color15 color1 # Selected read feed item
color listfocus_unread color15 color1 bold # Selected unread feed item
color info color15 default standout # The bars at the top and bottom
color article white default
highlight all "==.*==" red default # Highlight non-feed strings red
highlight feedlist ".*(0/0))" black # Do not show counter for empty feeds
highlight article "^(Feed:|Title:|Author:|Date:|Link:)" green default bold
highlight article " @[^ ]+" default default bold
highlight article "https?://[^ ]+" color33 default # Highlight URLs blue
highlight article "[^ ]+@[^ ]+.[^ ]+" color13 default # Highlight email addresses purple
# ignore-article "https://reddit.com/r/yorku.rss" "content =~ \"Econ|Soci|Biol|Chem\*"
# ignore-article "https://reddit.com/r/opendirectories.rss" "content =~ \"Google\""
# unbind keys
unbind-key A
unbind-key a
unbind-key b
unbind-key C
unbind-key O
unbind-key o
unbind-key Q
unbind-key q
unbind-key R
unbind-key r
unbind-key j
unbind-key k
unbind-key J
unbind-key K
bind-key ESC quit
bind-key LEFT quit
bind-key RIGHT open
bind-key q hard-quit
bind-key r reload-all
bind-key a toggle-article-read
bind-key A mark-feed-read
bind-key o open-in-browser-and-mark-read
bind-key t set-tag
# bind keys - vim style
bind-key j down
bind-key k up
bind-key l open
bind-key h quit