dotfiles-x11e824a57
newsboat config
+47 −0
1 file changed
- A .config/newsboat/config +47 −0
| @@ -0,0 +1,47 @@ | |||
| 1 | + | auto-reload yes | |
| 2 | + | ||
| 3 | + | unbind-key j | |
| 4 | + | unbind-key k | |
| 5 | + | unbind-key h | |
| 6 | + | unbind-key H | |
| 7 | + | unbind-key L | |
| 8 | + | unbind-key c | |
| 9 | + | unbind-key , | |
| 10 | + | browser "firefox %u" | |
| 11 | + | ||
| 12 | + | # Feed settings | |
| 13 | + | prepopulate-query-feeds yes | |
| 14 | + | refresh-on-startup yes | |
| 15 | + | ||
| 16 | + | macro w set browser "mpv %u" ; open-in-browser ; set browser "firefox %u" | |
| 17 | + | ||
| 18 | + | # bind keys | |
| 19 | + | bind-key ; macro-prefix | |
| 20 | + | bind-key h quit | |
| 21 | + | bind-key BACKSPACE quit | |
| 22 | + | bind-key j down | |
| 23 | + | bind-key k up | |
| 24 | + | bind-key l open | |
| 25 | + | bind-key H prev-feed | |
| 26 | + | bind-key L next-feed | |
| 27 | + | bind-key c toggle-show-read-feeds | |
| 28 | + | ||
| 29 | + | color listnormal cyan default | |
| 30 | + | color listfocus black yellow standout bold | |
| 31 | + | color listnormal_unread blue default | |
| 32 | + | color listfocus_unread yellow default bold | |
| 33 | + | color info red black bold | |
| 34 | + | color article white default bold | |
| 35 | + | ||
| 36 | + | highlight all "---.*---" yellow | |
| 37 | + | highlight feedlist ".*(0/0))" black | |
| 38 | + | highlight article "(^Feed:.*|^Title:.*|^Author:.*)" cyan default bold | |
| 39 | + | highlight article "(^Link:.*|^Date:.*)" default default | |
| 40 | + | highlight article "https?://[^ ]+" green default | |
| 41 | + | highlight article "^(Title):.*$" blue default | |
| 42 | + | highlight article "\\[[0-9][0-9]*\\]" magenta default bold | |
| 43 | + | highlight article "\\[image\\ [0-9]+\\]" green default bold | |
| 44 | + | highlight article "\\[embedded flash: [0-9][0-9]*\\]" green default bold | |
| 45 | + | highlight article ":.*\\(link\\)$" cyan default | |
| 46 | + | highlight article ":.*\\(image\\)$" blue default | |
| 47 | + | highlight article ":.*\\(embedded flash\\)$" magenta default | |