Small tweaks
This commit is contained in:
parent
75019980ea
commit
dfa5ecaf47
3
aliases
3
aliases
|
@ -619,6 +619,9 @@ dl_twitch_vid() {
|
|||
}
|
||||
|
||||
# Download Vimeo videos.
|
||||
# Can download an embedded vid. You might need to save the site cookies if the vid is behind a paywall.
|
||||
# e.g. yt-dlp.exe -F --cookies cookies.txt --referer https://gillyandkeeves.tv https://player.vimeo.com/video/756941969
|
||||
# The vid ID can be found by looking at the embed's iframe src attribute.
|
||||
dl_vimeo_vid() {
|
||||
local format="$1"
|
||||
local shortname="$2"
|
||||
|
|
|
@ -30,7 +30,7 @@ parse_git_branch() {
|
|||
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/'
|
||||
fi
|
||||
}
|
||||
export PS1='\[\033[0;32m\]\[\033[0m\033[0;32m\]\u\[\033[0;36m\] @ \w\[\033[33m\]\n$(parse_git_branch)\[\033[0;32m\]\[\033[0m\033[0;32m\] \$\[\033[0m\033[0;32m\]\[\033[0m\] '
|
||||
export PS1='\[\033[0;32m\]\[\033[0m\033[0;32m\]\u\[\033[0;36m\] -> \w\[\033[33m\]\n$(parse_git_branch)\[\033[0;32m\]\[\033[0m\033[0;32m\] \$\[\033[0m\033[0;32m\]\[\033[0m\] '
|
||||
|
||||
# Git autocompletion.
|
||||
if [ -f ~/.git-completion.bash ]; then
|
||||
|
|
2
vimrc
2
vimrc
|
@ -70,7 +70,7 @@ endfunction
|
|||
" --------------------------------------------------------------------------------------------------
|
||||
|
||||
" @note unsupported in lvimrc
|
||||
let g:campo_max_line_length = 100 " Display a vertical bar at x=<n>.
|
||||
let g:campo_max_line_length = 120 " Display a vertical bar at x=<n>.
|
||||
|
||||
" Set the row height of the quickfix pane, which is used to display results
|
||||
" from various plugins (like ctrl-p, ripgrep, compilation errors, etc), in rows
|
||||
|
|
Loading…
Reference in New Issue
Block a user