Haakon,

You might be interested in the CodeMirror plugin and the vim plugin for 
that, which will let you use vim keybindings right in the wikitext editor. 
Go to Control Panel -> Plugins -> Get more plugins -> Open plugin library 
and search for "CodeMirror". It's a fairly lightweight implementation and 
doesn't offer remapping, plugins like Surround, or all text objects 
(weirdly, it has some but not others), but I find it's a nice compromise.

Note that once you've installed you have to go to Control Panel -> Settings 
-> CodeMirror to actually enable the vim keybindings or nothing will happen 
(that took me a while to figure out). Also, you may need to change the 
keyboard shortcut for canceling editing a tiddler away from Escape, or it 
will be difficult to switch modes.

On Wednesday, March 18, 2020 at 6:12:29 AM UTC-5, Haakon Robinson wrote:
>
> Hi! 
>
> While looking around for info on the node.js server, I found this 
> <https://tiddlywiki.com/static/TiddlyWiki%2520on%2520Node.js.html>:
>
> *There are a few file system limitations you should be aware of that are 
>> related to how TiddlyWiki 
>> <https://tiddlywiki.com/static/TiddlyWiki.html> was designed:*
>>    
>>    - *The best, most general way to interact with a running wiki is via 
>>    the HTTP or JavaScript <https://tiddlywiki.com/static/JavaScript.html> 
>> API, 
>>    rather than manipulating the file store directly*
>>
>>
>>    - *Any modification to the contents of the wiki folder (e.g. images) 
>>    might thus sometimes require that your restart the node.js server*
>>
>>
>>    - *TiddlyWiki <https://tiddlywiki.com/static/TiddlyWiki.html> might 
>>    support manipulating the file store directly in the future*
>>
>>
> I enjoy editing things with vim, so this got my interest. I was wondering 
> if someone could expand on why synchronising changes to the file store 
> directly would be challenging, and what would it take to implement?
>
> Haakon
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/afd68e17-2c61-4b68-8873-8cb0ad3a642c%40googlegroups.com.

Reply via email to