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