@@ 28,7 28,7 @@ set vicmd=vim
" I recommend not changing this until you are familiar with vifm.
" This probably shouldn't be an option.
-set trash
+set notrash
" This is how many directories to store in the directory history.
@@ 111,6 111,9 @@ endif
set statusline=" Hint: %z%= %A %10u:%-7g %15s %20d "
+" Set preview options to clear graphic preview
+set previewoptions=hardgraphicsclear
+
" ------------------------------------------------------------------------------
" :mark mark /full/directory/path [filename]
@@ 197,7 200,7 @@ filextype *.djvu
"fileviewer *.mp3 mp3info
"fileviewer *.flac soxi
-filetype *.wav,*.mp3,*.flac,*.m4a,*.wma,*.ape,*.ac3,*.og[agx],*.spx,*.opus mpv --no-audio-display --input-ipc-server=/tmp/mpvsoc$(date +%%s) %c
+filetype *.wav,*.mp3,*.flac,*.m4a,*.wma,*.ape,*.ac3,*.og[agx],*.spx,*.opus,*.3gpp mpv --no-audio-display --input-ipc-server=/tmp/mpvsoc$(date +%%s) %c
" Video
" filextype *.avi,*.mp4,*.wmv,*.dat,*.3gp,*.ogv,*.mkv,*.mpg,*.mpeg,*.vob,
@@ 244,12 247,15 @@ fileviewer *.[1-8] man ./%c | col -b
"fileviewer *.bmp,*.jpg,*.jpeg,*.png,*.gif,*.xpm
" \ convert -identify %f -verbose /dev/null
-fileviewer *.jpg,*.jpeg,*.png,*.ico vifmimg draw %px %py %pw %ph %c %pc vifmimg clear
-filextype *.bmp,*.jpg,*.jpeg,*.png,*.ico,*.gif,*.xpm rotdir %f 2>/dev/null | sxiv -ia 2>/dev/null &
+fileviewer *.bmp,*.jpg,*.jpeg,*.png,*.gif,*.xpm
+ \ show-sixel %c %pw %ph %pd
+" fileviewer *.jpg,*.jpeg,*.png,*.ico vifmimg draw %px %py %pw %ph %c %pc vifmimg clear
+" filextype *.bmp,*.jpg,*.jpeg,*.png,*.ico,*.gif,*.xpm rotdir %f 2>/dev/null | sxiv -ia 2>/dev/null &
+filextype *.bmp,*.jpg,*.jpeg,*.png,*.ico,*.gif,*.xpm sxiv -ia 2>/dev/null &
fileviewer *.md,*.xml,*.css,*.py,*.c,*.h,*.sh,*.diff,*.tex,*.md,*.bib,*.sty,*.desktop highlight -O ansi %c
-filetype *.csv,*.xlsx sc-im %c
+filetype *.csv,*.xlsx xdg-open %c
fileviewer *.csv sed "s/,,,,/,,-,,/g;s/,,/ /g" %c | column -t | sed "s/ - / /g" | cut -c -%pw
" OpenRaster
@@ 340,7 346,7 @@ filetype *.7z
fileviewer *.7z 7z l %c
" Office files
-filextype *.odt,*.doc,*.docx,*.xls,*.xlsx,*.odp,*.pptx libreoffice %f &
+filextype *.odt,*.doc,*.docx,*.xls,*.xlsx,*.odp,*.pptx,*.odt,*.ods libreoffice %f &
fileviewer *.doc catdoc %c
fileviewer *.docx, docx2txt.pl %f -