bat
bat, cat with syntax highlighting and git changes; also the man page pager.
bat prints files with syntax highlighting, line numbers and git change marks. It is also the pager for man pages, so they are coloured and searchable.
Keys and commands
| Key or command | Does |
|---|---|
|
Show a file with highlighting |
|
The same, by its alias |
Edit this page Last updated