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
ef80482807
commit
bb9736b5ed
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]
|
\*.as[fx]
|
||||||
\ {View using unique mplayer instance}
|
\ {View using unique mplayer instance}
|
||||||
\ umpv %f &,
|
\ umpv %f &,
|
||||||
|
\ {View in timg}
|
||||||
|
\ timg --title --center --clear %f; read -k 1 -s -r,
|
||||||
\ {View using ffplay}
|
\ {View using ffplay}
|
||||||
\ ffplay -fs -autoexit %f,
|
\ ffplay -fs -autoexit %f,
|
||||||
\ {View using Dragon}
|
\ {View using Dragon}
|
||||||
|
@ -425,6 +427,8 @@ fileviewer *.[1-8] man ./%c | col -b
|
||||||
|
|
||||||
" Gif
|
" Gif
|
||||||
filextype *.gif
|
filextype *.gif
|
||||||
|
\ {View in timg}
|
||||||
|
\ timg --loops=2 --title --center --clear %f; read -k 1 -s -r,
|
||||||
\ {Loop}
|
\ {Loop}
|
||||||
\ mpv --loop=inf %f %i &,
|
\ mpv --loop=inf %f %i &,
|
||||||
fileviewer *.gif
|
fileviewer *.gif
|
||||||
|
@ -434,6 +438,8 @@ fileviewer *.gif
|
||||||
|
|
||||||
" Images
|
" Images
|
||||||
filextype *.bmp,*.jpg,*.jpeg,*.png,*.gif,*.xpm
|
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}
|
\ {View in nsxiv directory viewer}
|
||||||
\ vifm-thumbnailer %c,
|
\ vifm-thumbnailer %c,
|
||||||
\ {View in nsxiv}
|
\ {View in nsxiv}
|
||||||
|
@ -447,9 +453,7 @@ filextype *.bmp,*.jpg,*.jpeg,*.png,*.gif,*.xpm
|
||||||
\ {View in gpicview}
|
\ {View in gpicview}
|
||||||
\ gpicview %c,
|
\ gpicview %c,
|
||||||
fileviewer *.bmp,*.jpg,*.jpeg,*.png,*.gif,*.xpm
|
fileviewer *.bmp,*.jpg,*.jpeg,*.png,*.gif,*.xpm
|
||||||
\ kitty +kitten icat --silent --transfer-mode=stream --place=%pwx%ph@%pxx%py %c %N
|
\ timg -g%pwx%ph -pq %c
|
||||||
\ %pc
|
|
||||||
\ kitty +kitten icat --clear --silent %pd
|
|
||||||
|
|
||||||
" OpenRaster
|
" OpenRaster
|
||||||
filextype *.ora
|
filextype *.ora
|
||||||
|
|
Loading…
Reference in a new issue