From 01401ab56dc57b4c9731206e3253744568f4e214 Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Sun, 10 Apr 2022 21:18:26 +0800 Subject: Revert "Remove config of newsboat" This reverts commit da7d52bf63f21a1e8355e2a4ba195373be030f3e. --- .newsboat/config | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 .newsboat/config (limited to '.newsboat/config') diff --git a/.newsboat/config b/.newsboat/config new file mode 100644 index 0000000..460c703 --- /dev/null +++ b/.newsboat/config @@ -0,0 +1,45 @@ +auto-reload no +show-read-feeds yes +text-width 72 +reload-threads 32 + +confirm-mark-feed-read no + +browser "$BROWSER %u" + +# unbind keys +unbind-key j +unbind-key k +unbind-key J +unbind-key K +unbind-key ^D +unbind-key ^U +unbind-key o +unbind-key g +unbind-key G + +# bind keys - vim style +bind-key j down +bind-key k up +bind-key ^D pagedown +bind-key ^U pageup +bind-key b toggle-source-view +bind-key U toggle-show-read-feeds +bind-key u show-urls +bind-key g home +bind-key G end +bind-key b open-in-browser-and-mark-read +bind-key B open-in-browser +bind-key i sort +bind-key I rev-sort + +# podcasts + +download-path ~/Sync/podcasts +max-downloads 3 + +macro d set browser "youtube-dl %u &"; open-in-browser-noninteractively; set browser "$BROWSER %u" -- "download videos by youtube-dl" +macro p set browser "mpv -- %u &"; one; set browser "$BRWOSER %u" -- "open url by mpv" + +highlight feedlist "---.*---" blue default bold +highlight feedlist ".*0/0.." default default invis -- cgit v1.2.3