1
0
Fork 0

vifm: open

This commit is contained in:
Vladimír Dudr 2022-10-28 09:55:00 +02:00
parent 3f204a1966
commit de63c7f488

View file

@ -184,14 +184,17 @@ filextype {*.djvu},<image/vnd.djvu>
\ apvlv %f,
" Audio
filextype {*.wav,*.mp3,*.flac,*.m4a,*.wma,*.ape,*.ac3,*.og[agx],*.spx,*.opus},
\<audio/*>
\ {Play using mpv}
\ mpv --lavfi-complex="[aid1]asplit[ao][a]; [a]showcqt[vo]" %c %i &,
filetype {*.wav,*.mp3,*.flac,*.m4a,*.wma,*.ape,*.ac3,*.og[agx],*.spx,*.opus},
\<audio/*>
\ {Play using ffplay}
\ ffplay -nodisp -autoexit %c,
\ ffplay -hide_banner -nodisp -autoexit %c,
\ {Play using MPlayer}
\ mplayer %f,
fileviewer {*.mp3},<audio/mpeg> mp3info
fileviewer {*.flac},<audio/flac> soxi
fileviewer {*.wav,*.mp3,*.flac,*.m4a,*.wma,*.ape,*.ac3,*.og[agx],*.spx,*.opus},<audio/*> soxi
" Video
filextype {*.avi,*.mp4,*.wmv,*.dat,*.3gp,*.ogv,*.mkv,*.mpg,*.mpeg,*.vob,
@ -415,10 +418,8 @@ nnoremap S :sort<cr>
nnoremap w :view<cr>
vnoremap w :view<cr>gv
" Open file in existing instance of gvim
nnoremap o :!gvim --remote-tab-silent %f<cr>
" Open file in new instance of gvim
nnoremap O :!gvim %f<cr>
" Open file with system opener
nnoremap o :!handlr open %f<cr>
" Open file in the background using its default program
nnoremap gb :file &<cr>l