This commit is contained in:
Klesh Wong 2021-05-13 10:15:15 +08:00
parent a9c70be2f4
commit 59755b52ad
2 changed files with 9 additions and 1 deletions

View File

@ -15,6 +15,7 @@ fi
# https://github.com/TheFrenchGhosty
#
#
#--output "%(title)s - %(uploader)s - %(upload_date)s/%(title)s - %(uploader)s - %(upload_date)s [%(id)s].%(ext)s" \
yt-dlp \
--format "(bestaudio[acodec^=opus]/bestaudio)/best" \
@ -34,6 +35,6 @@ yt-dlp \
--embed-thumbnail \
--extract-audio \
--match-filter "!is_live & !live" \
--output "%(title)s - %(uploader)s - %(upload_date)s/%(title)s - %(uploader)s - %(upload_date)s [%(id)s].%(ext)s" \
--output "%(uploader)s - %(title)s.%(ext)s" \
--merge-output-format "mkv" \
"$@" 2>/tmp/download-yt-audio-error.log

View File

@ -23,6 +23,7 @@ set laststatus=2
set fillchars=vert:\ ,fold:-
set clipboard=unnamedplus " system clipboard as default register. for vim to work need installing gvim package
set mouse=a
set spell
filetype plugin indent on
syntax on
au! BufWritePost $MYVIMRC source %
@ -83,6 +84,7 @@ au ColorScheme * highlight ExtraWhitespace ctermbg=red guibg=red
au Syntax * match ExtraWhitespace /\s\+$/
nnoremap <leader>es :%s/\s\+$//g<CR>
" location jumping
nnoremap <leader>n :cnext<CR>
nnoremap <leader>p :cprev<CR>
@ -313,3 +315,8 @@ autocmd BufEnter,BufRead *.mom :set ft=mom
" for yaml need cursorcolumn
autocmd FileType yaml :set cursorcolumn
" spell highlight
highlight clear SpellBad
highlight SpellBad cterm=underline
highlight SpellBad gui=undercurl