aboutsummaryrefslogtreecommitdiff
path: root/.newsboat
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2022-04-10 21:18:26 +0800
committerGuangxiong Lin <[email protected]>2022-04-10 21:18:26 +0800
commit01401ab56dc57b4c9731206e3253744568f4e214 (patch)
treee9c0a0421e3435234c8ad55518700a09564a5f2f /.newsboat
parentda7d52bf63f21a1e8355e2a4ba195373be030f3e (diff)
downloaddotfiles-01401ab56dc57b4c9731206e3253744568f4e214.tar.gz
dotfiles-01401ab56dc57b4c9731206e3253744568f4e214.tar.bz2
dotfiles-01401ab56dc57b4c9731206e3253744568f4e214.zip
Revert "Remove config of newsboat"
This reverts commit da7d52bf63f21a1e8355e2a4ba195373be030f3e.
Diffstat (limited to '.newsboat')
-rw-r--r--.newsboat/.gitignore4
-rw-r--r--.newsboat/config45
2 files changed, 49 insertions, 0 deletions
diff --git a/.newsboat/.gitignore b/.newsboat/.gitignore
new file mode 100644
index 0000000..0528892
--- /dev/null
+++ b/.newsboat/.gitignore
@@ -0,0 +1,4 @@
+cache.db
+queue
+urls
+history*
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