4 ms·
bat does not look like a pager: https://github.com/sharkdp/bat?tab=readme-ov-file#automatic-paging https://github.com/sharkdp/bat?tab=readme-ov-file#automatic-.
by teki_one 6mo ago
bat does not look like a pager: https://github.com/sharkdp/bat?tab=readme-ov-file#automatic-paging https://github.com/sharkdp/bat?tab=readme-ov-file#automatic-...
- teo_zero 6mo agoIn fact it's not. The name itself mimicks cat, not less. It's a filter that adds annotations to its input, such as syntax highlighting, git diffs and special-char coloring. Personally I can't find any use for bat: I'm a devote user of vim for editing, and it already does all of this, so why not using it to view files as well? It's satisfying to have the same interface, colors and shortcuts whether you're editing or viewing!
- technojamin 6mo agoI use it for previewing files in `fzf` and `lf` (terminal file manager).