💾 Archived View for thatit.be › 2023-10-27-05-49-53.gmi captured on 2024-07-09 at 00:18:56. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2024-06-19)

➡️ Next capture (2024-08-18)

🚧 View Differences

-=-=-=-=-=-=-

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:

rg 'free will'
2023-10-23-14-25-33.md
3:title: free will write-offs
6:I dont have links, but I keep seeing mentions of how the lack of free will
19:their own (nonexistent) free will doesn't mean that reform is going to fail.
21:We can lack free will and be the products of a complex series of inputs
22:(perhaps a lack of free will would necessitate that, even.)  The choice of a
26:I feel like Sam Harris gets [this part] right: A lack of free will should be

2023-03-26-02-58-45.md
3:title: disbelief in free will gives rise to compassion
7:The author believes that by conceding a belief in free will he has become more

2023-08-04-06-49-17.md
10:> that appears to leave no room for human free will or moral responsibility.
13:> attempted to get around the difficulty by defining free will as a voluntary

2023-03-30-07-38-35.md
22:existence of free will, as it seems like something that doesn't matter, but I'm

2022-03-26-16-04-20.md
9:The stoics defined free will as *a voluntary accommodation to what is in any

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

bat $(rg -l 'free will')

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

Navigation

index

tags

Backlinks

2023-10-27 - pandoc and rg

updated: 2023-10-27 10:32:20

generated: 2024-07-08