Small alias and vimrc tweak
This commit is contained in:
parent
dfe47dea33
commit
db197535f5
8
aliases
8
aliases
|
@ -116,8 +116,12 @@ remove_windows_file() {
|
|||
|
||||
open_explorer_here() {
|
||||
local path_expanded=$(expand_path "$1")
|
||||
if [[ -d $path_expanded ]]; then
|
||||
local path=$(unix_to_windows_path "$path_expanded")
|
||||
explorer.exe "$path"
|
||||
else
|
||||
echo "Folder no longer exists"
|
||||
fi
|
||||
}
|
||||
|
||||
make_vid_dir_and_cd_into() {
|
||||
|
@ -660,9 +664,13 @@ alias tw-1080-shortname='dl_twitch_vid "1080" 1 0'
|
|||
alias tw-1080-shortname-compressed='dl_twitch_vid "1080" 1 $compression_quality'
|
||||
|
||||
alias tw-1080p60='dl_twitch_vid "1080p60" 0 0'
|
||||
alias tw-1080p50='dl_twitch_vid "1080p50" 0 0'
|
||||
alias tw-1080p60-compressed='dl_twitch_vid "1080p60" 0 $compression_quality'
|
||||
alias tw-1080p50-compressed='dl_twitch_vid "1080p50" 0 $compression_quality'
|
||||
alias tw-1080p60-shortname='dl_twitch_vid "1080p60" 1 0'
|
||||
alias tw-1080p50-shortname='dl_twitch_vid "1080p50" 1 0'
|
||||
alias tw-1080p60-shortname-compressed='dl_twitch_vid "1080p60" 1 $compression_quality'
|
||||
alias tw-1080p50-shortname-compressed='dl_twitch_vid "1080p50" 1 $compression_quality'
|
||||
|
||||
alias tw-720='dl_twitch_vid "720p" 0 0'
|
||||
alias tw-720-compressed='dl_twitch_vid "720p-1" 0 $compression_quality'
|
||||
|
|
2
vimrc
2
vimrc
|
@ -366,7 +366,7 @@ augroup campoCmds
|
|||
" @improve: don't run a bunch of ctags for the same project when mass
|
||||
" saving files. They all try to write and move newtags which tends to
|
||||
" lock up vim and/or spew errors.
|
||||
let l:ctags_cmd = "!(ctags --c-types=+l --c++-types=+l --exclude=*.md --exclude=*.txt --exclude=*.config --exclude=*.css --exclude=*.html --exclude=*.htm --exclude=*.json --exclude=node_modules --exclude=.git --exclude=.cache " . g:campo_custom_ctags_args . " --recurse=yes -o newtags; mv newtags tags) &"
|
||||
let l:ctags_cmd = "!(ctags --c-types=+l --c++-types=+l --exclude=*.md --exclude=*.txt --exclude=*.config --exclude=*.css --exclude=*.js --exclude=*.html --exclude=*.htm --exclude=*.json --exclude=node_modules --exclude=.git --exclude=.cache " . g:campo_custom_ctags_args . " --recurse=yes -o newtags; mv newtags tags) &"
|
||||
exec l:ctags_cmd | redraw!
|
||||
endfun
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user