Use xdg-open to open video files
This commit is contained in:
parent
e94b71fa67
commit
293aed1020
1 changed files with 2 additions and 1 deletions
|
@ -170,13 +170,14 @@ command! reload :write | restart full
|
||||||
" program. There is also %FOREGROUND, which is useful for entering passwords.
|
" program. There is also %FOREGROUND, which is useful for entering passwords.
|
||||||
fileviewer .*/,*/ ls --group-directories-first --classify --color %c
|
fileviewer .*/,*/ ls --group-directories-first --classify --color %c
|
||||||
fileviewer {*.pdf},<application/pdf> pdftotext -nopgbrk %c -
|
fileviewer {*.pdf},<application/pdf> pdftotext -nopgbrk %c -
|
||||||
filetype {*.pdf},<application/pdf>
|
filetype {*.pdf},<application/pdf>,<video/*>
|
||||||
\ xdg-open
|
\ xdg-open
|
||||||
fileviewer {*.bmp,*.jpg,*.jpeg,*.png,*.gif,*.xpm},<image/*>
|
fileviewer {*.bmp,*.jpg,*.jpeg,*.png,*.gif,*.xpm},<image/*>
|
||||||
\ chafa -f sixel --polite on -s %pwx%ph --animate off %c
|
\ chafa -f sixel --polite on -s %pwx%ph --animate off %c
|
||||||
\ %pd %N
|
\ %pd %N
|
||||||
filetype {*.bmp,*.jpg,*.jpeg,*.png,*.gif,*.xpm},<image/*>
|
filetype {*.bmp,*.jpg,*.jpeg,*.png,*.gif,*.xpm},<image/*>
|
||||||
\ xdg-open
|
\ xdg-open
|
||||||
|
|
||||||
fileviewer *.zip,*.jar,*.war,*.ear,*.oxt tar -tf %f
|
fileviewer *.zip,*.jar,*.war,*.ear,*.oxt tar -tf %f
|
||||||
fileviewer *.tgz,*.tar.gz tar -tzf %c
|
fileviewer *.tgz,*.tar.gz tar -tzf %c
|
||||||
fileviewer *.tar.bz2,*.tbz2 tar -tjf %c
|
fileviewer *.tar.bz2,*.tbz2 tar -tjf %c
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue