[tw5] Re: How to use the Vim mode in Code-Mirror?

2020-07-28 Thread Rafael Oliveira
Mark,

I'm actually struggling to find the .tid file that I can use on CodeMirror 
to activate the Vim mode... My issue is this one: 
https://groups.google.com/forum/#!topic/tiddlywiki/UFW-3-eTFZU

Could you share the tiddler file that you're using for your vim mode? On 
the official page I can only find the sublime file...

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/6cc04de6-1238-4b4f-85cc-814bde0429e3o%40googlegroups.com.


[tw5] Re: How to use the Vim mode in Code-Mirror?

2020-07-12 Thread tony
Hi 

5.1.22 on TiddlyServer 
and the old controls still work like Ctrl-c 
 for 
returning to Normal mode and 
cool stuff like setting and jumping to marks and command mode substitutions

Best,
tony


On Sunday, July 12, 2020 at 6:53:48 AM UTC-7 soren.b...@gmail.com wrote:

> Mark,
>
> As you've observed, this is happening because Escape is bound to 
> *cancel-edit-tiddler* by default. If you're not attached to that specific 
> keyboard shortcut, you can easily disable it in the Keyboard Shortcuts tab 
> of the control panel. I just change mine to Control-Escape, though that's a 
> bad choice if you use Windows since it opens the start menu.
>
> On Thursday, July 9, 2020 at 1:19:23 PM UTC-5, 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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/11f58807-3796-4b38-9436-4a7c5fd2a639n%40googlegroups.com.


[tw5] Re: How to use the Vim mode in Code-Mirror?

2020-07-12 Thread Soren Bjornstad
Mark,

As you've observed, this is happening because Escape is bound to 
*cancel-edit-tiddler* by default. If you're not attached to that specific 
keyboard shortcut, you can easily disable it in the Keyboard Shortcuts tab 
of the control panel. I just change mine to Control-Escape, though that's a 
bad choice if you use Windows since it opens the start menu.

On Thursday, July 9, 2020 at 1:19:23 PM UTC-5, 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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/480561ca-105b-44c9-abe9-61d09eeceb9co%40googlegroups.com.


[tw5] Re: How to use the Vim mode in Code-Mirror?

2020-07-11 Thread clutterstack


> Maybe someone else will find this thread useful ;-)
>
> Very likely. :D 

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/aabe6c2f-ce21-48f4-8906-6639f93e8e54o%40googlegroups.com.


[tw5] Re: How to use the Vim mode in Code-Mirror?

2020-07-10 Thread 'Mark S.' via TiddlyWiki
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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ac78ac50-7e4e-4661-9b59-f81baa00b6e3o%40googlegroups.com.


[tw5] Re: How to use the Vim mode in Code-Mirror?

2020-07-10 Thread 'Mark S.' via TiddlyWiki
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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/89826dac-f0a1-4fed-8ff7-219d0c6b7bcdo%40googlegroups.com.


[tw5] Re: How to use the Vim mode in Code-Mirror?

2020-07-10 Thread 'Mark S.' via TiddlyWiki
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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d6a55ae0-dc8d-433a-b79b-e68a14260c40o%40googlegroups.com.


[tw5] Re: How to use the Vim mode in Code-Mirror?

2020-07-09 Thread 'Mark S.' via TiddlyWiki
Ctl-C and Ctl-[ work as alternative escape keys, if anyone is interested.

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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/31facadb-9317-4a3f-b026-2ae5d620f188o%40googlegroups.com.