[ADD][TRIDACTYL] Redirect Reddit to old version

I hate the Reddit redesign, but I'm usually not logged in on my computer
so the redirection did not take effect.
This commit is contained in:
Bruno BELANYI 2019-10-04 16:12:56 +02:00
parent 6465fc0908
commit 6dd3ffd96a

View file

@ -46,5 +46,12 @@ command hint_focus hint -;
" Open right click menu on links
bind ;C composite hint_focus; !s xdotool key Menu
"
" URL Redirects
"
" Always redirect Reddit to the old site
autocmd DocStart ^http(s?)://www.reddit.com js tri.excmds.urlmodify("-t", "www", "old")
" This will have to do until someone writes us a nice syntax file :)
" vim: set filetype=vim: