parent
325c843df0
commit
da154dcae7
|
@ -40,7 +40,7 @@ alias caddyfile="sudo vim /etc/caddy/Caddyfile"
|
||||||
alias cf="sudo vim /etc/caddy/Caddyfile"
|
alias cf="sudo vim /etc/caddy/Caddyfile"
|
||||||
|
|
||||||
function download-channel {
|
function download-channel {
|
||||||
~/Downloads/yt-dlp "$1" --format 'bestvideo[height=1080]+bestaudio/best' --download-archive archive.txt --output '%(uploader)s/%(upload_date)s.%(title)s.%(id)s.%(ext)s' --restrict-filenames --merge-output-format mkv --ignore-errors
|
yt-dlp "$1" --format 'bestvideo[height=1080]+bestaudio/best' --download-archive archive.txt --output '%(uploader)s/%(upload_date)s.%(title)s.%(id)s.%(ext)s' --restrict-filenames --merge-output-format mkv --ignore-errors
|
||||||
}
|
}
|
||||||
|
|
||||||
function fin {
|
function fin {
|
||||||
|
|
|
@ -18,9 +18,8 @@ else
|
||||||
set termguicolors
|
set termguicolors
|
||||||
let &t_8f = "\<Esc>[38:2:%lu:%lu:%lum"
|
let &t_8f = "\<Esc>[38:2:%lu:%lu:%lum"
|
||||||
let &t_8b = "\<Esc>[48:2:%lu:%lu:%lum"
|
let &t_8b = "\<Esc>[48:2:%lu:%lu:%lum"
|
||||||
syntax enable
|
|
||||||
|
|
||||||
colorscheme monokai
|
colorscheme monokai
|
||||||
|
syntax enable
|
||||||
endif
|
endif
|
||||||
|
|
||||||
let mapleader=" "
|
let mapleader=" "
|
||||||
|
@ -81,6 +80,7 @@ set number relativenumber
|
||||||
|
|
||||||
set ignorecase smartcase
|
set ignorecase smartcase
|
||||||
set autoindent smartindent
|
set autoindent smartindent
|
||||||
|
|
||||||
" Yank to clipboard
|
" Yank to clipboard
|
||||||
nnoremap <C-C> "+yy
|
nnoremap <C-C> "+yy
|
||||||
vnoremap <C-C> "+y
|
vnoremap <C-C> "+y
|
||||||
|
@ -93,7 +93,7 @@ nnoremap <C-I> ^
|
||||||
nnoremap U ~
|
nnoremap U ~
|
||||||
nnoremap ~ U
|
nnoremap ~ U
|
||||||
|
|
||||||
" Paste last yank (not delete))
|
" Paste last yank (not delete)
|
||||||
nnoremap "p "0p
|
nnoremap "p "0p
|
||||||
|
|
||||||
" Window jumps
|
" Window jumps
|
||||||
|
|
Loading…
Reference in New Issue