2019-04-25 03:39:38 +00:00
|
|
|
# opciones basicas
|
|
|
|
refresh-on-startup yes
|
2019-04-14 15:53:12 +00:00
|
|
|
always-display-description true
|
|
|
|
display-article-progress yes
|
2019-04-25 03:39:38 +00:00
|
|
|
text-width 80
|
2019-04-22 15:40:54 +00:00
|
|
|
auto-reload yes
|
|
|
|
|
2019-04-25 03:39:38 +00:00
|
|
|
# formatos
|
|
|
|
articlelist-format "%4i %S %f (%D) %6L %?T? %-17T; ?%t"
|
2019-04-22 15:40:54 +00:00
|
|
|
feedlist-format "%4i %n %S %11u %t"
|
2019-04-25 03:39:38 +00:00
|
|
|
feedlist-title-format "%N: (%u/%t) Feeds"
|
|
|
|
articlelist-title-format "%N: (%u/%t) %T [%U]"
|
|
|
|
searchresult-title-format "%N: (%u/%t) Search"
|
|
|
|
filebrowser-title-format "%N: %f %?O?Open File&Save File?"
|
|
|
|
help-title-format "%N: Help"
|
|
|
|
selecttag-title-format "%N: Select Tag"
|
|
|
|
selectfilter-title-format "%N: Select Filter"
|
|
|
|
itemview-title-format "%N: %T"
|
|
|
|
urlview-title-format "%N: URLs"
|
|
|
|
dialogs-title-format "%N: Dialogs"
|
|
|
|
notify-format "%n Articulos no leidos"
|
2019-04-14 15:53:12 +00:00
|
|
|
|
2019-04-25 03:39:38 +00:00
|
|
|
# teclas
|
2019-04-14 15:53:12 +00:00
|
|
|
bind-key j down
|
|
|
|
bind-key k up
|
|
|
|
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 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
|
|
|
|
bind-key ^t next-unread
|
2019-04-25 03:39:38 +00:00
|
|
|
bind-key / open-search
|
2019-04-22 15:40:54 +00:00
|
|
|
|
2019-04-25 03:39:38 +00:00
|
|
|
# colores
|
|
|
|
color listnormal cyan default
|
|
|
|
color listfocus green default standout bold
|
|
|
|
color listnormal_unread blue default
|
|
|
|
color listfocus_unread yellow default bold
|
|
|
|
color info default default bold
|
|
|
|
color article cyan default
|
2019-04-14 15:53:12 +00:00
|
|
|
|
2019-04-22 15:40:54 +00:00
|
|
|
highlight article "^(Feed|Title|Author|Link|Date):.*" color4 default
|
|
|
|
highlight article "^Podcast Download URL:.*" color5 default
|
|
|
|
highlight article "^Links:" color15 default
|
|
|
|
highlight article "\\[[0-9][0-9]*\\]" color1 default
|
|
|
|
highlight article "\\[image [0-9][0-9]*\\]" color2 default
|
|
|
|
highlight article "\\[embedded flash: [0-9][0-9]*\\]" color5 default
|
|
|
|
highlight article ":.*\\(link\\)$" color12 default
|
|
|
|
highlight article ":.*\\(image\\)$" color2 default
|
2019-04-25 03:39:38 +00:00
|
|
|
highlight article ":.*\\(embedded flash\\)$" color3 default
|
2019-04-14 15:53:12 +00:00
|
|
|
|
2019-04-25 03:39:38 +00:00
|
|
|
# programas externos
|
|
|
|
notify-program "notify-send"
|
2019-04-14 15:53:12 +00:00
|
|
|
browser linkhandler
|
2019-04-25 03:39:38 +00:00
|
|
|
player mpv
|
|
|
|
save-path ~/.config/newsboat/saved
|
|
|
|
html-renderer "w3m -dump -T text/html"
|
|
|
|
|
|
|
|
# macros con prefijo
|
2019-04-14 15:53:12 +00:00
|
|
|
macro , open-in-browser
|
2019-04-25 03:39:38 +00:00
|
|
|
macro t set browser "transmission-remote --add %u"; open-in-browser ; set browser linkhandler
|
|
|
|
macro d set browser "tsp youtube-dl --add-metadata -ic"; open-in-browser ; set browser linkhandler
|
2019-04-14 15:53:12 +00:00
|
|
|
macro a set browser "tsp youtube-dl --add-metadata -xic -f bestaudio/best"; open-in-browser ; set browser linkhandler
|
|
|
|
macro v set browser "setsid nohup mpv"; open-in-browser ; set browser linkhandler
|
2019-04-25 03:39:38 +00:00
|
|
|
macro w set browser "tmux split-window && tmux send-keys '$w3m %u && tmux kill-pane\n'"; open-in-browser ; set browser linkhandler
|
|
|
|
macro r set browser "tmux split-window && tmux send-keys 'rtv -l %u && tmux kill-pane\n'"; open-in-browser ; set browser linkhandler
|
|
|
|
macro s set browser "tmux split-window && tmux send-keys 'ranger ~/.config/newsboat/saved && tmux kill-pane\n'" ; open-in-browser ; set browser linkhandler
|
2019-04-14 15:53:12 +00:00
|
|
|
macro c set browser "xsel -b <<<" ; open-in-browser ; set browser linkandler
|
|
|
|
|
2019-04-22 15:40:54 +00:00
|
|
|
# vim: ft=conf cms=#%s
|