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.
|
||||
fileviewer .*/,*/ ls --group-directories-first --classify --color %c
|
||||
fileviewer {*.pdf},<application/pdf> pdftotext -nopgbrk %c -
|
||||
filetype {*.pdf},<application/pdf>
|
||||
filetype {*.pdf},<application/pdf>,<video/*>
|
||||
\ xdg-open
|
||||
fileviewer {*.bmp,*.jpg,*.jpeg,*.png,*.gif,*.xpm},<image/*>
|
||||
\ chafa -f sixel --polite on -s %pwx%ph --animate off %c
|
||||
\ %pd %N
|
||||
filetype {*.bmp,*.jpg,*.jpeg,*.png,*.gif,*.xpm},<image/*>
|
||||
\ xdg-open
|
||||
|
||||
fileviewer *.zip,*.jar,*.war,*.ear,*.oxt tar -tf %f
|
||||
fileviewer *.tgz,*.tar.gz tar -tzf %c
|
||||
fileviewer *.tar.bz2,*.tbz2 tar -tjf %c
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue