dotfiles/newsboat.configlink/config

41 lines
1.5 KiB
Plaintext
Raw Permalink Normal View History

2021-11-24 22:25:52 +00:00
browser "$BROWSER %u"
2021-11-25 19:40:15 +00:00
prepopulate-query-feeds yes
feed-sort-order lastupdated
reload-only-visible-feeds yes
2021-11-30 03:50:18 +00:00
text-width 72
2021-11-24 22:25:52 +00:00
bind-key j down
bind-key k up
bind-key j next articlelist
bind-key k prev articlelist
bind-key G end
bind-key g home
bind-key d pagedown
bind-key u pageup
bind-key n next-unread
bind-key p prev-unread
bind-key ; macro-prefix
bind-key B bookmark
2021-11-25 19:40:15 +00:00
bind-key f edit-flags
2021-11-24 22:25:52 +00:00
macro v set browser "mpv %u"; open-in-browser; set browser "$BROWSER %u"
2021-11-30 03:50:18 +00:00
macro p set browser "echo %u"; one; set browser "$BROWSER %u"
macro H set browser "clx view $(echo %u | cut -d '=' -f2)"; one; set browser "$BROWSER %u"
macro h set browser "clx view $(echo %u | cut -d '=' -f2)"; two; set browser "$BROWSER %u"
2021-11-24 22:25:52 +00:00
macro w set browser "w3m -o confirm_qq=false %u"; open-in-browser; set browser "$BROWSER %u"
macro r set browser "url-markdown %u | glow -p -w 72 -"; open-in-browser; set browser "$BROWSER %u"
2021-11-30 03:50:18 +00:00
macro d set browser "youtube-dl -o ~/Downloads/%(title)s.%(ext)s %u &"; open-in-browser-noninteractively; set browser "$BROWSER %u"
2021-11-25 19:40:15 +00:00
macro n set-tag News; reload-all
2021-11-30 03:50:18 +00:00
macro a set-tag All
2021-11-25 19:40:15 +00:00
macro e set-tag Reddit; reload-all
2021-11-30 03:50:18 +00:00
macro y set-tag YouTube; reload-all
2021-11-25 19:40:15 +00:00
bookmark-cmd "bookmark"
2021-11-30 03:50:18 +00:00
highlight article "^(Feed|Title|Author|Link|Date):.*" color243 default
highlight article "^(Links):.*" color243 default
2021-12-02 17:43:42 +00:00
highlight article "^(\\[[0-9]+\\]):.*" color243 default
2021-12-28 05:29:18 +00:00
highlight article "^(\\[[0-9]+\\])" color243 default
2021-11-30 03:50:18 +00:00
highlight article "^\\[.*\\]$" color243 default
2021-12-28 05:29:18 +00:00
highlight article "^(Title:).*" color249 default