𝐛𝐚𝐭: the tool to syntax highlight (almost) anything on Linux - Bread on Penguins

https://www.youtube.com/watch?v=90sZYRoe-fo

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
94 points · 4 comments · view on lemmy.world

4 Comments

vinnymac@lemmy.world · 35 pts · 334d (4 replies)

If you enjoy bat, may I also recommend you try:

  • eza as an alternative to ls
  • zoxide as an alternative to cd
  • fd as an alternative to find
  • fzf paired with fd for enhanced reverse searching and more
  • delta for syntax highlighting pager for git, diff, grep, blame output

I’ve been using these for probably around 5-10 years / daily, without issue.

desmosthenes@lemmy.world · 3 pts · 334d

one of us!

dinckelman@lemmy.world · 3 pts · 334d (2 replies)
[ removed ]
trevor@lemmy.blahaj.zone · 2 pts · 334d (1 reply)

I never used erdtree. What do you like about it that is different from eza?

dinckelman@lemmy.world · 3 pts · 334d
[ removed ]
toad@lemmy.ca · 2 pts · 334d

This is a great video. I always appreciate a deeper look into tools like this.