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 # 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 \ yt-dlp \
--format "(bestaudio[acodec^=opus]/bestaudio)/best" \ --format "(bestaudio[acodec^=opus]/bestaudio)/best" \
@ -34,6 +35,6 @@ yt-dlp \
--embed-thumbnail \ --embed-thumbnail \
--extract-audio \ --extract-audio \
--match-filter "!is_live & !live" \ --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" \ --merge-output-format "mkv" \
"$@" 2>/tmp/download-yt-audio-error.log "$@" 2>/tmp/download-yt-audio-error.log

View File

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