bat - a cat clone with syntax highlighting and Git integration

How to view files with syntax highlight? Use bat instead of cat!

Syntax highlighting

bat supports syntax highlighting for a large number of programming and markup

Syntax highlighting example

Git integration

bat communicates with git to show modifications with respect to the index
(see left side bar):

Git integration example

Show non-printable characters

You can use the -A/--show-all option to show and highlight non-printable

Non-printable character example

... and many other features

Leave a Reply

Your email address will not be published. Required fields are marked *