commit 6de8253a0b97407e288af85f393ae0fc4450e6b6
parent 5ac405bcb61ec3788603fbadfe71b981d16211e9
Author: Alex Balgavy <alex@balgavy.eu>
Date: Thu, 5 Aug 2021 11:28:34 +0200
w3m: use extbrowsers
Diffstat:
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/w3m/config b/w3m/config
@@ -71,9 +71,9 @@ urimethodmap ~/.config/w3m/urimethodmap, /usr/local/Cellar/w3m/0.5.3_6/etc/w3m/u
editor /usr/local/bin/vim
mailto_options 1
mailer
-extbrowser linkhandler
-extbrowser2
-extbrowser3
+extbrowser open
+extbrowser2 url=%s && printf %s "$url" | clc
+extbrowser3 url=%s && pocket save "$url" && notify "Saved to pocket" "URL: $url" w3m
extbrowser4
extbrowser5
extbrowser6
@@ -87,6 +87,7 @@ disable_secret_security_check 0
ftppasswd
ftppass_hostnamegen 1
pre_form_file ~/.config/w3m/pre_form
+# Domain substitutions
siteconf_file ~/.config/w3m/siteconf
user_agent
no_referer 0
diff --git a/w3m/keymap b/w3m/keymap
@@ -1,5 +1,5 @@
# Reference: http://epistulus.com/w3m/MANUAL.html
-
+# More: http://www.w3m.rocks/
# Text navigation
keymap 0 LINE_BEGIN
keymap $ LINE_END