rg with bat

While wondering what the CLI equivalent of canvas-like organization would be I started playing with rg to find notes that are related by virtue of some content.

For example:

I can rg -l for just their names and feed that to bat.

It’s actually kind of a fun way to review notes, but it’s still just a wall of text. Maybe it’s good enough? Maybe it would be handy to make this retrievable/repeatable? It’s a bit like using the Telescope live_grep in Neovim, but being able to see all the results instead of just one hit at a time.

asciinema capture in webm formatasciinema capture in webm format

Tags: rg, cli

Tags

#rg

#cli

index

tags

2023-10-27 - pandoc and rg

created: 2023-10-27

(re)generated: 2026-05-06

page source