- cross-posted to:
- linux@lemmy.ml
- cross-posted to:
- linux@lemmy.ml
I was already using bat, but I only really scratched the surface of everything it could do. From the video description:
https://github.com/sharkdp/bat
https://github.com/eth-p/bat-extras
wallpaper photo is mine, https://www.patreon.com/c/breadonpenguins
my music: https://unicornmasquerade.bandcamp.com/
- 0:00 command color outputs!
- 1:35 syntax highlighted manual page btw
- 1:57 supported languages
- 2:30 install bat, bat-extras
- 3:12 config options
- 3:46 style formats
- 4:30 custom colorschemes
- 4:59 integration for common tools
- 5:33 bat preview in fzf
- 6:28 colorized help menus
- 7:02 performance comparison?
- 8:36 syntax highlighting makes my brain perform faster
Hmm. Interesting!
I wondered if there’s a way to leverage emacs’s understanding of file formats to do this for all the formats that emacs can understand, and apparently there is:
https://stackoverflow.com/questions/24329865/using-emacs-in-batch-mode-to-dump-a-file-with-syntax-highlighting
https://github.com/Lindydancer/e2ansi