newsboat config

This commit is contained in:
Noah Masur 2021-11-24 17:25:52 -05:00
parent 29cf53f5f6
commit 154fe2917b
2 changed files with 23 additions and 0 deletions

3
.gitignore vendored
View File

@ -1,4 +1,6 @@
.DS_Store
newsboat.configlink/history.search
newsboat.configlink/urls
nvim.configlink/dirs/*
nvim.configlink/.netrwhist
nvim.configlink/plugin/**
@ -9,3 +11,4 @@ fish.configlink/functions/vim.fish
fish_variables
homebrew/*.lock.json
*.bak
*.db

View File

@ -0,0 +1,20 @@
browser "$BROWSER %u"
bind-key j down
bind-key k up
bind-key j next articlelist
bind-key k prev articlelist
bind-key G end
bind-key g home
bind-key d pagedown
bind-key u pageup
bind-key n next-unread
bind-key p prev-unread
bind-key ; macro-prefix
bind-key B bookmark
bind-key N toggle-article-read
macro v set browser "mpv %u"; open-in-browser; set browser "$BROWSER %u"
macro h set browser "clx view $(echo %u | cut -d '=' -f2)"; one; set browser "$BROWSER %u"
macro w set browser "w3m -o confirm_qq=false %u"; open-in-browser; set browser "$BROWSER %u"
macro r set browser "url-markdown %u | glow -p -w 72 -"; open-in-browser; set browser "$BROWSER %u"