From: Sergey Matveev Date: Tue, 31 Aug 2021 19:35:26 +0000 (+0300) Subject: Initial edbrowse X-Git-Url: http://www.git.stargrave.org/?p=dotfiles.git;a=commitdiff_plain;h=746e56da4b2a42bcfbdfd85de350889c44b02011 Initial edbrowse --- diff --git a/eb/.ebrc b/eb/.ebrc new file mode 100644 index 0000000..fa981d3 --- /dev/null +++ b/eb/.ebrc @@ -0,0 +1,114 @@ +downdir=/home/stargrave/tmp/ +jar=/tmp/.ebjar +cachedir=/tmp/.ebcache +cachesize=200 +webtimer=30 + +plugin{ + type=image/webp + desc=WebP + suffix=webp + content=image/webp + down_url + program=sxiv %i +} + +plugin{ + type=image/jpeg + desc=JPEG + suffix=jpg + content=image/jpeg + down_url + program=sxiv %i +} + +plugin{ + type=image/png + desc=PNG + suffix=png + content=image/png + down_url + program=sxiv %i +} + +plugin{ + type=image/jxl + desc=JPEG XL + suffix=jxl + content=image/jxl + down_url + program=sxiv %i +} + +plugin{ + type=application/pdf + desc=PDF + suffix=pdf + content=application/pdf + down_url + program=zat %i +} + +function+S{ + b https://lite.duckduckgo.com/lite/?q=~0 + /Next Page/ + z20 +} + +function+Sg{ + b https://www.google.com/search?q=~0 + /^{h3/ + z20 +} + +function+Soid{ + b https://oidref.com/~0 + /^h1/ + z20 +} + +function+Spy{ + b https://pypi.org/project/~0/ + /^h1/ + z20 +} + +function+Srfc{ + b https://tools.ietf.org/html/rfc~0 + /^From:/ + z40 +} + +function+Swe{ + b https://en.wikipedia.org/wiki/~0 + /^h1/ + z40 +} + +function+Swr{ + b https://ru.wikipedia.org/wiki/~0 + /^h1/ + z40 +} + +function+Scroll{ + +,+20n + if(?) { + +,$n + if(?) { + 0 " \ + --prompt-colour=red \ + --complete-filenames \ + edbrowse $@ diff --git a/mutt/.mime.types b/mutt/.mime.types index 0faee86..16a5c48 100644 --- a/mutt/.mime.types +++ b/mutt/.mime.types @@ -1,5 +1,6 @@ application/gzip gz application/pdf pdf +application/zstd zst image/jpeg jpeg jpg image/jxl jxl image/png png diff --git a/readline/.inputrc b/readline/.inputrc index 7d95ac6..7bd0c75 100644 --- a/readline/.inputrc +++ b/readline/.inputrc @@ -6,6 +6,9 @@ set editing-mode vi set show-mode-in-prompt on +set expand-tilde on +set enable-bracketed-paste on + set colored-stats on set colored-completion-prefix on set visible-stats on