Compare commits

...

2 commits

2 changed files with 6 additions and 5 deletions

View file

@ -19,4 +19,5 @@ alias myconfigfiles='git --git-dir=$HOME/.myconfigfiles.git --work-tree=$HOME'
alias revealjs='pandoc -s -t revealjs -V revealjs-url=../../lib/reveal.js --slide-level 2 --css ../../lib/css/style.css -o' alias revealjs='pandoc -s -t revealjs -V revealjs-url=../../lib/reveal.js --slide-level 2 --css ../../lib/css/style.css -o'
alias md2pdf='pandoc -V geometry:left=3cm,right=2.5cm,top=2.5cm,bottom=2.5cm -o' alias md2pdf='pandoc -V geometry:left=3cm,right=2.5cm,top=2.5cm,bottom=2.5cm -o'
alias mpvlow='mpv --ytdl-format=bestvideo[height\<=480]+bestaudio' alias mpvlow='mpv --ytdl-format=worstvideo[height\>=480]+bestaudio/480p/worst'
alias mpvhigh='mpv --ytdl-format=bestvideo[height\<=1080]+bestaudio/1080p/best'

View file

@ -18,11 +18,11 @@ config.bind('w', 'set-cmd-text -s :open -t', mode='normal')
config.bind('W', 'set-cmd-text -s :open -t {url:pretty}', mode='normal') config.bind('W', 'set-cmd-text -s :open -t {url:pretty}', mode='normal')
config.bind('Fy', 'hint links yank-primary', mode='normal') config.bind('Fy', 'hint links yank-primary', mode='normal')
config.bind('yy', 'yank -s', mode='normal') config.bind('yy', 'yank -s', mode='normal')
config.bind('Ev', 'spawn --detach mpv --ytdl-format=worstvideo[height>=480]+bestaudio {url}', mode='normal') config.bind('Ev', 'spawn --detach mpv --ytdl-format=worstvideo[height>=480]+bestaudio/480p/worst {url}', mode='normal')
config.bind('EV', 'spawn --detach mpv --ytdl-format=bestvideo[height<=1080]+bestaudio {url}', mode='normal') config.bind('EV', 'spawn --detach mpv --ytdl-format=bestvideo[height<=1080]+bestaudio/1080p/best {url}', mode='normal')
config.bind('Ea', 'spawn --detach mpv --no-video --force-window=yes {url}', mode='normal') config.bind('Ea', 'spawn --detach mpv --no-video --force-window=yes {url}', mode='normal')
config.bind('Fv', 'hint links spawn --detach mpv --ytdl-format=worstvideo[height>=480]+bestaudio {hint-url}', mode='normal') config.bind('Fv', 'hint links spawn --detach mpv --ytdl-format=worstvideo[height>=480]+bestaudio/480p/worst {hint-url}', mode='normal')
config.bind('FV', 'hint links spawn --detach mpv --ytdl-format=bestvideo[height<=1080]+bestaudio {hint-url}', mode='normal') config.bind('FV', 'hint links spawn --detach mpv --ytdl-format=bestvideo[height<=1080]+bestaudio/1080p/best {hint-url}', mode='normal')
config.bind('Fa', 'hint links spawn --detach mpv --no-video --force-window=yes {hint-url}', mode='normal') config.bind('Fa', 'hint links spawn --detach mpv --no-video --force-window=yes {hint-url}', mode='normal')
config.unbind('F') config.unbind('F')
config.bind('<Backspace>', 'back', mode='normal') config.bind('<Backspace>', 'back', mode='normal')