X-Git-Url: https://git.shemshak.org/~bandali/configs/blobdiff_plain/272049cf0f03a05e6133068be574e5aa2c737c03..c4c2ff4ebcfeda2603eef806193ef8d891035b9f:/.config/tridactyl/tridactylrc diff --git a/.config/tridactyl/tridactylrc b/.config/tridactyl/tridactylrc index bc71d77..bb717e3 100644 --- a/.config/tridactyl/tridactylrc +++ b/.config/tridactyl/tridactylrc @@ -1,15 +1,9 @@ -set editorcmd emcl - -bind j scrollline 2 -bind k scrollline -2 bind n scrollline 2 bind p scrollline -2 bind 0 scrollto 0 x bind - scrollto 100 x -bind J tabprev -bind K tabnext bind P tabprev bind N tabnext @@ -29,14 +23,21 @@ bind O fillcmdline bmarks bind ; fillcmdline_notrail +bind ;v hint -; video + +command mpvmp4 js -p tri.excmds.shellescape(JS_ARG).then(url => tri.excmds.exclaim_quiet('mpv --no-terminal --ytdl-format=mp4 ' + url)) +bind ;gv hint -W mpvmp4 + +bind ;gV js tri.excmds.exclaim_quiet('mpv --no-terminal --ytdl-format=mp4 ' + document.location.href) + unbind set hintfiltermode vimperator-reflow set hintnames numeric set urlparenttrailingslash false -set browser iceweasel -" set newtab https://shemshak.org/~amin/ +set browser abrowser +" set newtab https://bandali.eu.org seturl warrior.uwaterloo.ca noiframe true