simplenote-vim / simplenote.vim

vim plugin to interact with the simplenote service
http://www.vim.org/scripts/script.php?script_id=3582
MIT License
368 stars 31 forks source link

Is it possible to set a custom path where the cache could be stored persistently on disk. #117

Open MadoScientist97 opened 2 years ago

MadoScientist97 commented 2 years ago

The question basically, want to know if it is possible to set a custom path where the note contents would be cached on disk. Or would it be feasible to sync the simplenote files from another set of files in a custom folder? I ask this because then I can link the simplenote files/objects from within vimwiki, and with that if I have taskwiki, I would be able to update my task list just by syncing up with my simplenote.

atomicules commented 2 years ago

Hi. Sorry for the delay in replying.

The cache simplenote.vim uses is a "lightweight" one and doesn't include the actual note content. It would be possible to support storing this in another location.

This issue covers caching actual note content: https://github.com/simplenote-vim/simplenote.vim/issues/18. I've erred on the side of not caching the full content of notes because I think that is better covered by other applications: https://github.com/insanum/sncli

My main issue at the moment is I'm somewhat computerless so I can't really develop anything, but I do still use this on and off.

atomicules commented 2 years ago

Also see https://github.com/simplenote-vim/simplenote.vim/issues/115

MadoScientist97 commented 2 years ago

Thanks! Will take a look at those.