some more vifm changes

This commit is contained in:
Gabe Venberg 2019-08-31 10:38:57 -05:00
parent 16bb8e3da1
commit b533866b68

View file

@ -175,29 +175,13 @@ set vicmd=nvim
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 pdftotext -nopgbrk %c -
" Images "Image
filextype *.bmp,*.jpg,*.jpeg,*.png,*.gif,*.xpm fileviewer *.png,*jpeg,*jpg img2txt --width=100 %c
\ {View in feh}
\ feh --auto-zoom --draw-filename %d --start-at %d/%c 2>/dev/null &, "previewing html docs
fileviewer *.html w3m %c
" Syntax highlighting in preview
"
" Explicitly set highlight type for some extensions
"
" 256-color terminal
" fileviewer *.[ch],*.[ch]pp highlight -O xterm256 -s dante --syntax c %c
" fileviewer Makefile,Makefile.* highlight -O xterm256 -s dante --syntax make %c
"
" 16-color terminal
" fileviewer *.c,*.h highlight -O ansi -s dante %c
"
" Or leave it for automatic detection
"
fileviewer *[^/] pygmentize -O style=monokai -f console256 -g
" Displaying pictures in terminal
"
" fileviewer *.jpg,*.png shellpic %c
" Open all other files with default system programs (you can also remove all " Open all other files with default system programs (you can also remove all
" :file[x]type commands above to ensure they don't interfere with system-wide " :file[x]type commands above to ensure they don't interfere with system-wide