top | item 19557780

(no title)

saadullahsaeed | 7 years ago

I am curious how do you handle search? Is that even a use case for you?

discuss

order

nextos|7 years ago

You can simply use ripgrep to search. Either from a terminal, or from an editor it is integrated with.

I favor the same approach. In my case, I use org-mode instead of markdown as it offers a few niceties when editing from Emacs. But irrespective of that, IMHO plain text overrules any other choice as it is future-proof and can be composed with your favorite tools. For example, a VCS like Git.

I have many files in a flat zettelkasten-like structure [1]. That means, essentially, having one file per concept and using links to chain them.

[1] https://qr.ae/TW8ieU

derefr|7 years ago

> You can simply use ripgrep to search

That assumes that the text in your notes uses the vocabulary you'd expect, and isn't misspelled. Neither of those are guaranteed if your notes are snippets of other documents (a common EN use-case) rather than text you wrote yourself. Especially not guaranteed if the snippets are images where their textual representation is the output of an OCR algorithm.

Is there something like ripgrep for fuzzy search?

slantyyz|7 years ago

Sublime's file search is super fast. Works great for me.

My folder tree is fairly flat and folder/file-naming is self-explanatory, so when I have to use the dropbox client on mobile, finding stuff isn't too bad.