diff options
author | Benjamin Chausse <benjamin@chausse.xyz> | 2020-10-20 21:24:17 -0400 |
---|---|---|
committer | Benjamin Chausse <benjamin@chausse.xyz> | 2020-10-20 21:24:17 -0400 |
commit | c6378a73c5fa5bfefa6fdcf865c3e3245d7290e5 (patch) | |
tree | 7771615017bb2c40fb76fc58e0b457b75f5504d4 /.config/vifm | |
parent | 376d1b4a26da960f3fdec20a7c0b2b27c34738f7 (diff) |
RIP bat, highlight is king
Diffstat (limited to '.config/vifm')
-rw-r--r-- | .config/vifm/vifmrc | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/.config/vifm/vifmrc b/.config/vifm/vifmrc index 18e136e..2c10c5d 100644 --- a/.config/vifm/vifmrc +++ b/.config/vifm/vifmrc @@ -138,7 +138,7 @@ set rulerformat= " CSV/Excel filetype *.xlsx libreoffice %c %i -fileviewer *.csv sed "s/,,,,/,,-,,/g;s/,,/ /g" %c | column -t | sed "s/ - / /g" | cut -c -%pw +" fileviewer *.csv sed "s/,,,,/,,-,,/g;s/,,/ /g" %c | column -t | sed "s/ - / /g" | cut -c -%pw " HTMLs fileviewer *.html w3m -dump %c @@ -146,8 +146,10 @@ filextype *.html,*.htm firefox %f 2>/dev/null & " Text based files filetype <*.csv,text/*> nvim -fileviewer <*.csv,text/*> env -uCOLORTERM bat --color always --theme base16 --wrap never --pager never %c -p -fileviewer *.[ch],*.[ch]pp,*.[ch]xx env -uCOLORTERM bat --color always --theme base16 --wrap never --pager never %c -p +fileviewer <*.csv,text/*> env -uCOLORTERM highlight -i %c --stdout -O ansi +" fileviewer <*.csv,text/*> env -uCOLORTERM bat --color always --theme base16 --wrap never --pager never %c -p +fileviewer *.[ch],*.[ch]pp,*.[ch]xx env -uCOLORTERM highlight -i %c --stdout -O ansi +" fileviewer *.[ch],*.[ch]pp,*.[ch]xx env -uCOLORTERM bat --color always --theme base16 --wrap never --pager never %c -p " PDFs filextype *.pdf zathura %c %i & |