Well, I'm having a bit of a monologue here. Maybe everyone already knew this, but apparently when you add plugins to a node.js TiddlyWiki, you have to manage the dependencies yourself. I'm not sure if that was necessary for Vim in 5.1.22 -- the commit comment on several of the codemirror items from 3 months ago mentions adding dependencies. When you add official plugins to a stand-alone TW, the dependencies are added in for you. So everything works out of the box. With the node plugins, you need to check that the non-obvious dependencies are added in.
Maybe someone else will find this thread useful ;-) On Friday, July 10, 2020 at 11:17:02 AM UTC-7, Mark S. wrote: > > It really appears at this point that the vim keymap and/or the codemirror > plugins for in the pre-release 5.1.23 are broken. I'm able to add the > codemirror plugin directories from the 5.1.22 release and it works. > > On Friday, July 10, 2020 at 8:55:04 AM UTC-7, Mark S. wrote: >> >> Yesterday I was able to work for several hours with Vim in Codemirror. >> But I didn't have a "proper" set up -- it was a mix of node and drag-n-drop >> plugins. >> >> When I set up everything "properly" in node, with pre-release, or with >> 5.1.22 single file, I always get this message in the RSOE: >> >> TypeError: n is undefined >> >> right after setting up "vim" as the CodeMirror keymap. >> >> After that, everything is broken. >> >> I feel that somehow I got lucky yesterday, and picked the right >> combination of node and actual tiddlers that allowed vim to work. Now it >> doesn't seem to work no matter what I do. >> >> Anyone else have experience with vim on TW? >> >> Thanks! >> >> On Thursday, July 9, 2020 at 11:19:23 AM UTC-7, Mark S. wrote: >>> >>> >>> I was trying to use the Code Mirror Vim keymap. >>> >>> The problem is that the escape key, which is used to change edit modes >>> in Vim, is still mapped to the the "cancel tiddler" functionality in >>> TiddlyWiki. So you can't change modes without also closing out the current >>> tiddler and abandoning your changes! >>> >>> I assume that some alternative key has been mapped, but if so, it hasn't >>> been documented. >>> >>> Is there a magic incantation for using Vim in Code Mirror on TiddlyWiki ? >>> >>> Thanks! >>> >> -- 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/ac78ac50-7e4e-4661-9b59-f81baa00b6e3o%40googlegroups.com.

