@ -12,8 +12,6 @@
" you will need to change this setting.
" you will need to change this setting.
set vicmd=nvim
set vicmd=nvim
" set vicmd=elvis\ -G\ termcap
" set vicmd=vile
" This makes vifm perform file operations on its own instead of relying on
" This makes vifm perform file operations on its own instead of relying on
" standard utilities like `cp`. While using `cp` and alike is a more universal
" standard utilities like `cp`. While using `cp` and alike is a more universal
@ -70,7 +68,7 @@ colorscheme Default
" TIME_STAMP_FORMAT=%m/%d-%H:%M
" TIME_STAMP_FORMAT=%m/%d-%H:%M
" See man date or man strftime for details.
" See man date or man strftime for details.
set timefmt=%m/%d \ %H:%M
set timefmt=%d.%m.%y \ %H:%M
" Show list of matches on tab completion in command-line mode
" Show list of matches on tab completion in command-line mode
@ -172,7 +170,11 @@ command! reload :write | restart
" Pdf
" Pdf
filextype *.pdf zathura %c %i &, apvlv %c, xpdf %c
filextype *.pdf zathura %c %i &, apvlv %c, xpdf %c
fileviewer *.pdf pdftotext -nopgbrk %c -
fileviewer *.pdf
\ vifmimg pdfpreview %px %py %pw %ph %c
\ %pc
\ vifmimg clear
"\ pdftotext -nopgbrk %c -
" PostScript
" PostScript
filextype *.ps,*.eps,*.ps.gz
filextype *.ps,*.eps,*.ps.gz
@ -214,12 +216,8 @@ fileviewer *.avi,*.mp4,*.wmv,*.dat,*.3gp,*.ogv,*.mkv,*.mpg,*.mpeg,*.vob,
" Web
" Web
filextype *.html,*.htm
filextype *.html,*.htm
\ {Open with dwb}
\ dwb %f %i &,
\ {Open with firefox}
\ {Open with firefox}
\ firefox %f &,
\ firefox %f &,
\ {Open with uzbl}
\ uzbl-browser %f %i &,
filetype *.html,*.htm links, lynx
filetype *.html,*.htm links, lynx
" Object
" Object
@ -232,13 +230,15 @@ fileviewer *.[1-8] man ./%c | col -b
" Images
" Images
filextype *.bmp,*.jpg,*.jpeg,*.png,*.gif,*.xpm
filextype *.bmp,*.jpg,*.jpeg,*.png,*.gif,*.xpm
\ {View in sxiv}
\ {View in sxiv}
\ sxiv %f,
\ {View in gpicview}
\ gpicview %c,
\ {View in shotwell}
\ shotwell,
\ sxiv -ia %c %d &,
fileviewer *.bmp,*.jpg,*.jpeg,*.png,*.gif,*.xpm
fileviewer *.bmp,*.jpg,*.jpeg,*.png,*.gif,*.xpm
\ identify %f
\ vifmimg draw %px %py %pw %ph %c
\ %pc
\ vifmimg clear
fileviewer *.gif
\ vifmimg gifpreview %px %py %pw %ph %c
\ %pc
\vifmimg clear
" OpenRaster
" OpenRaster
filextype *.ora
filextype *.ora
@ -393,6 +393,25 @@ set vifminfo=dhistory,savedirs,chistory,state,tui,shistory,
" ------------------------------------------------------------------------------
" ------------------------------------------------------------------------------
" GETTING ICONS TO DISPLAY IN VIFM
" You need the next 14 lines!
" file types
set classify=' :dir:/, :exe:, :reg:, :link:'
" various file names
set classify+=' ::../::, ::*.sh::, ::*.[hc]pp::, ::*.[hc]::, ::/^copying|license$/::, ::.git/,,*.git/::, ::*.epub,,*.fb2,,*.djvu::, ::*.pdf::, ::*.htm,,*.html,,**.[sx]html,,*.xml::'
" archives
set classify+=' ::*.7z,,*.ace,,*.arj,,*.bz2,,*.cpio,,*.deb,,*.dz,,*.gz,,*.jar,,*.lzh,,*.lzma,,*.rar,,*.rpm,,*.rz,,*.tar,,*.taz,,*.tb2,,*.tbz,,*.tbz2,,*.tgz,,*.tlz,,*.trz,,*.txz,,*.tz,,*.tz2,,*.xz,,*.z,,*.zip,,*.zoo::'
" images
set classify+=' ::*.bmp,,*.gif,,*.jpeg,,*.jpg,,*.ico,,*.png,,*.ppm,,*.svg,,*.svgz,,*.tga,,*.tif,,*.tiff,,*.xbm,,*.xcf,,*.xpm,,*.xspf,,*.xwd::'
" audio
set classify+=' ::*.aac,,*.anx,,*.asf,,*.au,,*.axa,,*.flac,,*.m2a,,*.m4a,,*.mid,,*.midi,,*.mp3,,*.mpc,,*.oga,,*.ogg,,*.ogx,,*.ra,,*.ram,,*.rm,,*.spx,,*.wav,,*.wma,,*.ac3::'
" media
set classify+=' ::*.avi,,*.ts,,*.axv,,*.divx,,*.m2v,,*.m4p,,*.m4v,,.mka,,*.mkv,,*.mov,,*.mp4,,*.flv,,*.mp4v,,*.mpeg,,*.mpg,,*.nuv,,*.ogv,,*.pbm,,*.pgm,,*.qt,,*.vob,,*.wmv,,*.xvid::'
" office files
set classify+=' ::*.doc,,*.docx::, ::*.xls,,*.xls[mx]::, ::*.pptx,,*.ppt::'
" Sample mappings
" Sample mappings
" Start shell in current directory
" Start shell in current directory