dotfiles/home/.config/newsboat/config

48 lines
1.3 KiB
Plaintext
Raw Normal View History

2021-09-02 15:18:52 +00:00
unbind-key j
unbind-key k
unbind-key h
unbind-key H
unbind-key L
unbind-key c
unbind-key ,
2021-09-02 15:33:04 +00:00
browser "xdg-open %u"
2021-09-02 15:18:52 +00:00
# Feed settings
prepopulate-query-feeds yes
refresh-on-startup yes
2021-09-02 15:33:04 +00:00
# Macros
macro w set browser "mpv %u" ; open-in-browser ; set browser "xdg-open %u"
macro r set browser "links %u" ; open-in-browser ; set browser "xdg-open %u"
2021-09-02 15:18:52 +00:00
# bind keys
bind-key ; macro-prefix
bind-key BACKSPACE quit
bind-key h quit
bind-key j down
bind-key k up
bind-key l open
bind-key H prev-feed
bind-key L next-feed
bind-key c toggle-show-read-feeds
color background default default
color listnormal default default
color listnormal_unread default default
color listfocus color16 cyan
color listfocus_unread color16 cyan
color info default black
color article default default
highlight article "(^Feed:.*|^Title:.*|^Author:.*)" cyan default bold
highlight article "(^Link:.*|^Date:.*)" default default
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