aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2021-10-23 13:55:37 +0800
committerGuangxiong Lin <[email protected]>2021-10-23 13:55:37 +0800
commit065b68f370fb570719d171ee882b84337636baf0 (patch)
treeb89d24f18ebd9e960161dfabc4c7ad6dca40f18d
parent222ca867153c116f839b83c93c1f5063c8eb04d7 (diff)
downloaddotfiles-065b68f370fb570719d171ee882b84337636baf0.tar.gz
dotfiles-065b68f370fb570719d171ee882b84337636baf0.tar.bz2
dotfiles-065b68f370fb570719d171ee882b84337636baf0.zip
Add config of newsboat
-rw-r--r--.newsboat/.gitignore4
-rw-r--r--.newsboat/config32
2 files changed, 36 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..8e0793c
--- /dev/null
+++ b/.newsboat/config
@@ -0,0 +1,32 @@
+auto-reload yes
+show-read-feeds no
+text-width 72
+reload-threads 11
+
+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