X-Git-Url: https://git.shemshak.org/gitweb.cgi/~bandali/configs/blobdiff_plain/77bc0ba9f9699d0f038583b609c703a2bce5d530..bed4a98af2931651d5fe73492b39b6edc615cf4c:/.config/tridactyl/tridactylrc diff --git a/.config/tridactyl/tridactylrc b/.config/tridactyl/tridactylrc index 8081446..887e250 100644 --- a/.config/tridactyl/tridactylrc +++ b/.config/tridactyl/tridactylrc @@ -1,10 +1,9 @@ -bind j scrollline 2 -bind k scrollline -2 bind n scrollline 2 bind p scrollline -2 -bind J tabprev -bind K tabnext +bind 0 scrollto 0 x +bind - scrollto 100 x + bind P tabprev bind N tabnext @@ -15,6 +14,7 @@ unbind bind x tabclose bind X undo +bind stop bind gd tabduplicate bind gw tabdetach @@ -23,9 +23,24 @@ 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 abrowser +" set newtab https://bandali.eu.org + +seturl warrior.uwaterloo.ca noiframe true -set browser iceweasel +" autocmd DocStart www.reddit.com js tri.excmds.urlmodify("-t", "www", "old") -autocmd DocStart www.reddit.com js tri.excmds.urlmodify("-t", "www", "old") +colourscheme bandali