diff --git a/terminal/.config/vifm/vifmrc b/terminal/.config/vifm/vifmrc index f3d3118..6900451 100644 --- a/terminal/.config/vifm/vifmrc +++ b/terminal/.config/vifm/vifmrc @@ -298,15 +298,11 @@ nnoremap ,t :!vifm-thumbnailer -t %u %c nnoremap ,T :!vifm-thumbnailer -r -t %u %c " allows preview to work for normal view and single pane view -noremap w : if &quickview && !layoutis('only') +noremap w : if layoutis('only') + \| if &lines + 50 < &columns | vsplit | else | split | endif \| view \| else - \| if layoutis('only') - \| if &lines + 50 < &columns | vsplit | else | split | endif - \| endif - \| view! - \| execute 'qnoremap w q:view|only|qunmap wcr>' - \| execute 'wincmd w' + \| view \| endif \| @@ -429,21 +425,10 @@ filetype *.o nm %f | less filetype *.[1-8] man ./%c fileviewer *.[1-8] man ./%c | col -b -" Gif -filextype *.gif - \ {View in viu} - \ viu --once --name %f; read -k 1 -s -r, - \ {Loop} - \ mpv --loop=inf %f %i &, -fileviewer *.gif - \ kitty +kitten icat --silent --transfer-mode=stream --place=%pwx%ph@%pxx%py %c %N - \ %pc - \ kitty +kitten icat --clear --silent %pd - " Images filextype *.bmp,*.jpg,*.jpeg,*.png,*.gif,*.xpm \ {View in viu} - \ viu --name %f; read -k 1 -s -r, + \ viu --once --name %f; read -k 1 -s -r, \ {View in nsxiv directory viewer} \ vifm-thumbnailer %c, \ {View in imv} @@ -459,7 +444,7 @@ filextype *.bmp,*.jpg,*.jpeg,*.png,*.gif,*.xpm \ {View in gpicview} \ gpicview %c, fileviewer *.bmp,*.jpg,*.jpeg,*.png,*.gif,*.xpm - \ viu -b -w %pw -h %ph %c + \ viu -b -w %pw -h %ph -s %c " OpenRaster filextype *.ora