Update aliases
This commit is contained in:
parent
6136c20390
commit
3d5b394e23
3
.aliases
3
.aliases
|
@ -1071,6 +1071,7 @@ alias yt-list-desc='download_youtube_uploads_list 1 '
|
||||||
alias yt='download_youtube_vid "" $SHORTNAME_OFF $TRANSCRIBE_OFF'
|
alias yt='download_youtube_vid "" $SHORTNAME_OFF $TRANSCRIBE_OFF'
|
||||||
alias yt-shortname='download_youtube_vid "" $SHORTNAME_ON $TRANSCRIBE_OFF'
|
alias yt-shortname='download_youtube_vid "" $SHORTNAME_ON $TRANSCRIBE_OFF'
|
||||||
alias yt-1440='download_youtube_vid "620+140" $SHORTNAME_OFF $TRANSCRIBE_OFF'
|
alias yt-1440='download_youtube_vid "620+140" $SHORTNAME_OFF $TRANSCRIBE_OFF'
|
||||||
|
alias yt-1440p60='download_youtube_vid "400+140" $SHORTNAME_OFF $TRANSCRIBE_OFF'
|
||||||
alias yt-1440-shortname='download_youtube_vid "620+140" $SHORTNAME_OFF $TRANSCRIBE_OFF'
|
alias yt-1440-shortname='download_youtube_vid "620+140" $SHORTNAME_OFF $TRANSCRIBE_OFF'
|
||||||
alias yt-1080='download_youtube_vid "137+140" $SHORTNAME_OFF $TRANSCRIBE_OFF'
|
alias yt-1080='download_youtube_vid "137+140" $SHORTNAME_OFF $TRANSCRIBE_OFF'
|
||||||
alias yt-1080-shortname='download_youtube_vid "137+140" $SHORTNAME_ON $TRANSCRIBE_OFF'
|
alias yt-1080-shortname='download_youtube_vid "137+140" $SHORTNAME_ON $TRANSCRIBE_OFF'
|
||||||
|
@ -1215,6 +1216,8 @@ alias compress-video-hard='_compress_video_hard'
|
||||||
alias cv='compress-video'
|
alias cv='compress-video'
|
||||||
alias cvh='compress-video-hard'
|
alias cvh='compress-video-hard'
|
||||||
alias jv='join-video'
|
alias jv='join-video'
|
||||||
|
alias av='analyze-volume'
|
||||||
|
alias aa='analyze-volume'
|
||||||
alias nv='normalize-volume'
|
alias nv='normalize-volume'
|
||||||
alias na='normalize-volume'
|
alias na='normalize-volume'
|
||||||
alias tv='trim-video'
|
alias tv='trim-video'
|
||||||
|
|
4
.vimrc
4
.vimrc
|
@ -923,6 +923,8 @@ noremap <leader>gm :call CtrlP_JaiSearch('modules')<cr> " Search in Jai modules
|
||||||
noremap <leader>gh :call CtrlP_JaiSearch('how_to')<cr> " Search in Jai how_to
|
noremap <leader>gh :call CtrlP_JaiSearch('how_to')<cr> " Search in Jai how_to
|
||||||
noremap <leader>ge :call CtrlP_JaiSearch('examples')<cr> " Search in Jai examples
|
noremap <leader>ge :call CtrlP_JaiSearch('examples')<cr> " Search in Jai examples
|
||||||
|
|
||||||
|
" @note we're using a modified version of ctrlp that removes duplicate tags
|
||||||
|
" when using multiple tag files. See https://github.com/sir-pinecone/ctrlp.vim/commit/5cceab
|
||||||
let g:ctrlp_map = '<leader>f'
|
let g:ctrlp_map = '<leader>f'
|
||||||
let g:ctrlp_cmd = 'CtrlPTag' " Search tags by default.
|
let g:ctrlp_cmd = 'CtrlPTag' " Search tags by default.
|
||||||
let g:ctrlp_by_filename = 1 " File search by filename as opposed to full path.
|
let g:ctrlp_by_filename = 1 " File search by filename as opposed to full path.
|
||||||
|
@ -1055,7 +1057,7 @@ fu! IsPathContained(path1, path2) abort
|
||||||
let l:normalized_path1 = substitute(fnamemodify(a:path1, ':p'), '\', '/', 'g')
|
let l:normalized_path1 = substitute(fnamemodify(a:path1, ':p'), '\', '/', 'g')
|
||||||
let l:normalized_path2 = substitute(fnamemodify(a:path2, ':p'), '\', '/', 'g')
|
let l:normalized_path2 = substitute(fnamemodify(a:path2, ':p'), '\', '/', 'g')
|
||||||
|
|
||||||
" Ensure paths end with a directory separator
|
" Ensure paths end with a directory separator.
|
||||||
if l:normalized_path1[-1:] != '/'
|
if l:normalized_path1[-1:] != '/'
|
||||||
let l:normalized_path1 .= '/'
|
let l:normalized_path1 .= '/'
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in New Issue
Block a user