vifm: Change default image opener to timg
Changed opening images by default to do so on the commandline itself, using timg. Other openers can still be invoked through the `:file` command like before.
This commit is contained in:
parent
5dc8e5afce
commit
e92e7e5b1c
1 changed files with 7 additions and 3 deletions
|
@ -392,6 +392,8 @@ filextype *.avi,*.mp4,*.wmv,*.dat,*.3gp,*.ogv,*.mkv,*.mpg,*.mpeg,*.vob,
|
|||
\*.as[fx]
|
||||
\ {View using unique mplayer instance}
|
||||
\ umpv %f &,
|
||||
\ {View in timg}
|
||||
\ timg --title --center --clear %f; read -k 1 -s -r,
|
||||
\ {View using ffplay}
|
||||
\ ffplay -fs -autoexit %f,
|
||||
\ {View using Dragon}
|
||||
|
@ -425,6 +427,8 @@ fileviewer *.[1-8] man ./%c | col -b
|
|||
|
||||
" Gif
|
||||
filextype *.gif
|
||||
\ {View in timg}
|
||||
\ timg --loops=2 --title --center --clear %f; read -k 1 -s -r,
|
||||
\ {Loop}
|
||||
\ mpv --loop=inf %f %i &,
|
||||
fileviewer *.gif
|
||||
|
@ -434,6 +438,8 @@ fileviewer *.gif
|
|||
|
||||
" Images
|
||||
filextype *.bmp,*.jpg,*.jpeg,*.png,*.gif,*.xpm
|
||||
\ {View in timg}
|
||||
\ timg --title --center --clear %f; read -k 1 -s -r,
|
||||
\ {View in nsxiv directory viewer}
|
||||
\ vifm-thumbnailer %c,
|
||||
\ {View in nsxiv}
|
||||
|
@ -447,9 +453,7 @@ filextype *.bmp,*.jpg,*.jpeg,*.png,*.gif,*.xpm
|
|||
\ {View in gpicview}
|
||||
\ gpicview %c,
|
||||
fileviewer *.bmp,*.jpg,*.jpeg,*.png,*.gif,*.xpm
|
||||
\ kitty +kitten icat --silent --transfer-mode=stream --place=%pwx%ph@%pxx%py %c %N
|
||||
\ %pc
|
||||
\ kitty +kitten icat --clear --silent %pd
|
||||
\ timg -g%pwx%ph -pq %c
|
||||
|
||||
" OpenRaster
|
||||
filextype *.ora
|
||||
|
|
Loading…
Reference in a new issue