add highlight and chafa packages

File preview in vifm
This commit is contained in:
Yorick Barbanneau 2023-03-18 13:33:42 +01:00
parent 8011081703
commit d59f31a62b
3 changed files with 113 additions and 1 deletions

View file

@ -193,7 +193,8 @@ fileviewer {*.tar},<application/x-tar> tar -tf %c
fileviewer {*.rar},<application/x-rar> unrar v %c
fileviewer {*.7z},<application/x-7z-compressed> 7z l %c
fileviewer <text/*> highlight -O xterm256 -s base16/default-dark %c
fileviewer <text/*> highlight -O xterm256
\ --config ~/.config/highlight/base16-default-dark.theme %c
filetype * xdg-open
" Customize view columns a bit (enable ellipsis for truncated file names)
set viewcolumns=-{name}..,6{}.