aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2022-01-17 08:46:01 +0800
committerGuangxiong Lin <[email protected]>2022-01-17 08:46:01 +0800
commit73e614fea37d837bdaa7d4fe04d26b8e53c6d2c7 (patch)
treed8a911ced72b79d6de39c40f6a74c18b8dffced8
parent9ffcd1381542e347590267193cf2723fc2c66704 (diff)
downloaddotfiles-73e614fea37d837bdaa7d4fe04d26b8e53c6d2c7.tar.gz
dotfiles-73e614fea37d837bdaa7d4fe04d26b8e53c6d2c7.tar.bz2
dotfiles-73e614fea37d837bdaa7d4fe04d26b8e53c6d2c7.zip
Update newsboat config
-rw-r--r--.newsboat/config8
1 files changed, 6 insertions, 2 deletions
diff --git a/.newsboat/config b/.newsboat/config
index 40ff2ca..6f16612 100644
--- a/.newsboat/config
+++ b/.newsboat/config
@@ -3,6 +3,8 @@ show-read-feeds yes
text-width 72
reload-threads 32
+confirm-mark-all-feeds-read no
+
browser "$BROWSER %u"
# unbind keys
@@ -15,6 +17,7 @@ unbind-key ^U
unbind-key o
unbind-key g
unbind-key G
+unbind-key d
# bind keys - vim style
bind-key j down
@@ -30,14 +33,15 @@ bind-key b open-in-browser-and-mark-read
bind-key B open-in-browser
bind-key i sort
bind-key I rev-sort
+bind-key d toggle-article-read
# podcasts
download-path ~/Sync/podcasts
max-downloads 3
-# download videos
-macro d set browser "youtube-dl %u &"; open-in-browser-noninteractively; set browser elinks
+macro d set browser "youtube-dl %u &"; open-in-browser-noninteractively; set browser elinks -- "download videos by youtube-dl"
+macro p set browser "mpv -- %u &"; one; set browser elinks -- "open url by mpv"
highlight feedlist "---.*---" blue default bold
highlight feedlist ".*0/0.." default default invis