summaryrefslogtreecommitdiff
path: root/.cheat/w3mtips
diff options
context:
space:
mode:
Diffstat (limited to '.cheat/w3mtips')
-rwxr-xr-x.cheat/w3mtips34
1 files changed, 34 insertions, 0 deletions
diff --git a/.cheat/w3mtips b/.cheat/w3mtips
new file mode 100755
index 0000000..6fa4536
--- /dev/null
+++ b/.cheat/w3mtips
@@ -0,0 +1,34 @@
+# The list of external browsers assigned to w3m are as follows:
+#
+#extbrowser ${HOME}/anaconda3/bin/qutebrowser
+#extbrowser2 bash -c 'transmission-remote -a "$0" && notify-send -t 3000 -i emblem-downloads "Adding Torrent" "$0" '
+#extbrowser3 bash -c 'echo -n "$0" | xclip -selection clipboard && notify-send -t 3000 -i edit-copy "W3M URL Yank To Clipboard" "$0"'
+#extbrowser4 bash -c 'TS_SOCKET=/tmp/ytdl ts ${HOME}/anaconda3/bin/youtube-dl "$0" && notify-send -t 3000 -i package-x-generic "youtube-dl: Downloading" "$0" '
+#extbrowser5 bash -c 'TS_SOCKET=/tmp/w3m ts /usr/bin/aria2c -j 1 -c -d $HOME/Downloads "$0" && notify-send -t 3000 -i package-x-generic "Aria2c: Downloading" "$0" '
+#extbrowser6 bash -c 'TS_SOCKET=/tmp/mpv ts /usr/bin/mpv --ontop --force-window --autofit=500x200 --geometry=-15-50 "$0" && notify-send -t 3000 -i video-x-generic "MPV Queue" "$0"'
+#extbrowser7 /usr/bin/firefox
+#
+# To browse current document using external browsers, use the following Key bindings:
+
+# For external browser (i.e. qutebrowser see above list)
+M
+
+# to send torrent link to transmission-remote
+2M
+
+# to copy hyperlink to clipboard
+3M
+
+# to download link via youtube-dl
+4M
+
+# to download link via aria
+5M
+
+# to send link to mpv
+6M
+
+# or via firefox
+7M
+
+To browse the link using external browsers, prefix the above key bindings with the ESC key.