top | item 39501225

(no title)

149765 | 2 years ago

Why not just "fd -e fi.md -X batcat"?

discuss

order

hiAndrewQuinn|2 years ago

Good first idea, and I just tried it - but sadly, this opens every Markdown document at once, as a giant pile of documents I would have to scroll down through.

That's not what I'm after. I want to survey the whole page with my eyes as fast as possible for unusual colors / oddly short files / etc, then press `q` to have the screen totally clear and move on to the next one.

katehikes88|2 years ago

Why not `find -name '*.fi.md' -exec less {} \;`

throwaway143829|2 years ago

find is pretty slow compared to fd. It also spends a lot of time searching through directories like .git or node_modules which you typically want to exclude.

genman|2 years ago

Can less provide syntax highlighting?