by andai · 3y ago · 0 comments
I've tried dozens of notetaking apps and that's the only one that truly felt like a second brain.
It's because of the speed. Infuriatingly, Obsidian for example can search just as fast, but they intentionally programmed in a lag after each keystroke... (I know because I removed it.)
Alternatively, you could get near-zero delay and no spurious queries by requiring the user type Enter or click a button... but that design is much less common these days.
Yeah, it's seems they've added a debounce. I'd prefer to set it to 0ms as well. Do you remember how you removed it?
https://github.com/jonmest/How-To-Tamper-With-Any-Electron-A...
Obsidian is not open source so it's minified and hard to read. But I was able to find the relevant code and just set the delay to 0.
(I'm away from computer now, I'll see if I can find the code later.)
What also helped is that all Electron apps are just Chromium so you can run the dev tools and the debugger! I think the hotkey is F12, and/or Ctrl+Shift+J.
However, updating Obsidian actually made it slower for me, because 1.4.2 is only available to paid users. So it updated to 1.3.7 and removed my patch!