newsboat: add config

This commit is contained in:
Guilherme Rugai Freire 2021-10-15 17:13:46 -03:00
parent 8586ea4336
commit d14cf0efa7
No known key found for this signature in database
GPG Key ID: 0F9FE41723A8A297

45
.config/newsboat/config Normal file
View File

@ -0,0 +1,45 @@
# Settings
prepopulate-query-feeds yes
# Keybinds
bind-key j down
bind-key k up
bind-key j next articlelist
bind-key k prev articlelist
bind-key J next-feed articlelist
bind-key K prev-feed articlelist
bind-key G end
bind-key g home
bind-key d pagedown
bind-key u pageup
bind-key l open
bind-key h quit
bind-key BACKSPACE quit
bind-key a toggle-article-read
bind-key n next-unread
bind-key N prev-unread
bind-key D pb-download
bind-key U show-urls
bind-key x pb-delete
# Colors
color listnormal cyan default
color listfocus yellow default bold
color listnormal_unread blue default
color listfocus_unread yellow default bold
color info red black bold
color article default default
# Highlights
highlight all "---.*---" yellow
highlight feedlist ".*(0/0))" black
highlight article "(^Feed:.*|^Title:.*|^Author:.*)" cyan default bold
highlight article "(^Link:.*|^Date:.*)" white 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