2 ms·
That's (almost) exactly what khoj search provides a search-as-you-type experience but with a natural language (instead of keyword) search interface. My workflo
by 110 3y ago
That's (almost) exactly what khoj search provides a search-as-you-type experience but with a natural language (instead of keyword) search interface.
My workflow looks like:
1. Search with Khoj search[1]: `C-c s s` <search-query> RET
2. Use speed key to jump to relevant entry[2]: with `n n o 2`
[1]: `C-c s` is bound to `khoj` transient menu
[2] https://orgmode.org/manual/Speed-Keys.html https://orgmode.org/manual/Speed-Keys.html
- Blackthorn 3y agoCan you elaborate on that a little bit? When you search like that, what do you type in to find stuff in a programming language source file? I'd like to better understand this workflow, it seems interesting and I might be missing out.
- 110 3y agoFirstly, my previous statement needs quite a lot of clarification: Khoj works more like an incremental, natural language version of org-agenda-search (or projectile) rather than isearch. You've to configure which files it should index first. You can then use natural language to search those files with a search-as-you-type experience. This is not the same as isearch that just searches the current file for keyword matches. Second, khoj doesn't index source code and the default search models don't work well with code files. But yeah someone should implement a natural language isearch as a standalone tool (as suggested by parent comment). It'd be super-useful