-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cache notes #18
Comments
this is a great necessary feature, maybe you can search suggestions in stackoverflow.com |
Why don't use a ~/.simplenote dir? |
The problem is more a general one. Caching notes means the plugin also needs more functionality to manage the cache. This is not a complicated or impossibly hard thing. However, I like that simplenote.vim is a rather thin interface layer for simplenote. I'm not set on not implementing caching, but I'm not sure that it would make the plugin actually better. But I'm open to suggestions :). |
Just a +1 from me here - caching notes for offline use + ability to search them would be awesome - Notational Velocity on the Mac is the gold standard for this kind of functionality - having the same function in vim across platforms would rock hard. |
Some thoughts on caching, pretty much echoing what has been said above: I've flagged it against milestone v1.1.0 (currently we are on v0.7.0) to say that I will think about it, but not right now. |
Searching across all notes is the main feature I came to the issue queue hoping for, but it seems that would probably require caching to happen first. So, +1 from me. |
There is probably scope for using some of @insanum 's work on sncli to implement caching. Or it could be that for sncli does what you want already @mvance? That's kind of been my worry/concern with caching all along. In a way, as soon as you've got something that handles caching and synchronising with Simplenote you just need any old text editor, is there a real need for Simplenote.vim then? I'm not sure. On the other hand though, once the Simperium API becomes a requirement, then caching probably will be needed as it pretty much assumes applications work that way (you can't get the same information as you can with the Simplenote API). I am still using Simplenote and Simplenote.vim day in and out so maybe I'll find time to look at this next year. |
+1 |
Relies on upstream changes in simplenote.py to fetch only notes changed since a cursor. This way though the initial load of a list index is slow, but any subsequent updates of `:SimplenoteIndex` are _much_ faster. This is paving the way for then storing this lightweight cache on disk so startup from scratch is also faster. Baby steps. It's still not a full offline cache of notes, but I still don't know if simplenote.vim should ever do that. There are other solutions. Also remove some blank lines, fix some typos/grammar, etc that I noticed. References: #102 References: #96 References: #18
Meant to reference this issue with this commit: a561166 |
Maybe there's a use case for offline access to notes. Caching should be simple, syncing might be the harder part.
The text was updated successfully, but these errors were encountered: