Commit 47c52115 authored by Joris's avatar Joris

Move youtube-dl download shortcut to qutebrowser

parent ef7d66b9
#!/bin/sh
cd "$HOME/downloads"
youtube-dl $(xsel)
echo "Done!"
read
......@@ -184,7 +184,6 @@ mode $mode_update {
set $mode_download "(y)outube (f)ile"
mode $mode_download {
bindsym y exec --no-startup-id $term -e "/home/joris/.bin/my-youtube-dl"; mode "default"
bindsym f exec --no-startup-id $term -e "/home/joris/.bin/my-aria2c"; mode "default"
bindsym Escape mode "default"
......
......@@ -12,6 +12,7 @@ Plug 'junegunn/fzf' | Plug 'junegunn/fzf.vim'
Plug 'ldong/vim_loremipsum'
Plug 'lokaltog/vim-easymotion'
Plug 'nbouscal/vim-stylish-haskell'
Plug 'neovimhaskell/haskell-vim'
Plug 'ntpeters/vim-better-whitespace'
Plug 'plasticboy/vim-markdown'
Plug 'scrooloose/nerdtree'
......@@ -238,3 +239,33 @@ let g:better_whitespace_enabled = 0
" ------------
let g:vim_markdown_folding_disabled = 1
" vim-haskell
" -----------
let g:haskell_enable_quantification = 1 " to enable highlighting of `forall`
let g:haskell_enable_recursivedo = 1 " to enable highlighting of `mdo` and `rec`
let g:haskell_enable_arrowsyntax = 1 " to enable highlighting of `proc`
let g:haskell_enable_pattern_synonyms = 1 " to enable highlighting of `pattern`
let g:haskell_enable_typeroles = 1 " to enable highlighting of type roles
let g:haskell_enable_static_pointers = 1 " to enable highlighting of `static`
let g:haskell_backpack = 1 " to enable highlighting of backpack keywords
let g:haskell_classic_highlighting = 1
let g:haskell_indent_if = 3
let g:haskell_indent_case = 2
let g:haskell_indent_let = 4
let g:haskell_indent_where = 6
let g:haskell_indent_before_where = 2
let g:haskell_indent_after_bare_where = 2
let g:haskell_indent_do = 3
let g:haskell_indent_in = 1
let g:haskell_indent_guard = 2
let g:haskell_indent_case_alternative = 1
let g:cabal_indent_section = 2
" NERDTree
" --------
let NERDTreeShowHidden=1
......@@ -28,6 +28,8 @@ config.bind('gi', 'enter-mode insert')
## MPV
config.bind('m', 'spawn mpv {url}')
config.bind('M', 'hint links spawn mpv {hint-url}')
config.bind(';m', 'spawn urxvt -e youtube-dl --all-subs --output "~/videos/youtube/%(title)s.%(ext)s" {url}')
config.bind(';M', 'hint links spawn urxvt -e youtube-dl --all-subs --output "~/videos/youtube/%(title)s.%(ext)s" {hint-url}')
## Yank / copy
config.bind('y', 'yank -s')
......@@ -58,4 +60,3 @@ c.scrolling.bar = True
c.tabs.background = True
c.tabs.title.format = '{title}'
c.tabs.padding = { 'top': 5, 'right': 5, 'bottom': 5, 'left': 5 }
c.tabs.width.indicator = 0
......@@ -2,9 +2,9 @@
name = Joris
[alias]
tree = log --graph --oneline
co = checkout
ci = commit
br = branch
caa = commit -a --amend -C HEAD
p = push origin HEAD
pf = push --force origin HEAD
[diff]
tool = nvimdiff
[mergetool]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment