Hello Mario,
I did what you explained, but nothing happens.
I created a tiddler with that type type: application/json
This content:
{
"require": [
"$:/plugins/tiddlywiki/codemirror/addon/dialog.js",
"$:/plugins/tiddlywiki/codemirror/addon/searchcursor.js",
"$:/plugins/tiddlywiki/codemirror/keymap/vim.js",
"$:/plugins/tiddlywiki/codemirror/keymap/emacs.js"
],
"configuration": {
"keyMap": "vim",
"showCursorWhenSelecting": true
}
}
And the title $:/config/CodeMirror
<http://tiddlywiki.com/codemirrordemo.html#%24%3A%2Fconfig%2FCodeMirror>
What I expect is something like this: http://codemirror.net/demo/vim.html
Using the editor as a VI console.
Thank you very much.
El miércoles, 29 de enero de 2014 00:35:38 UTC+1, PMario escribió:
>
> On Tuesday, January 28, 2014 11:13:33 PM UTC+1, Danielo Rodríguez wrote:
>
>> The problem is that I'm not familiar with codemirror, so when you tell me
>> just a plain codemirror text editor I don't understand what that means.
>> Just answer me this question: are the line numbers the only thing that I
>> can expect?
>> Thank you in advance.
>>
>
> At the moment, it also includes 2 keyboard modes. vim and emacs
>
> If you open: http://tiddlywiki.com/codemirrordemo.html page it tells you
> about a config structure.
> If you copy the config code into a
> tiddler eg: "cmConfig" and set the type: application/json
>
> A save and reload will activate the "vim" keyboard mode for the editor.
>
> ... So if you want to use "vim" or "emacs" like keyboard handling for the
> editor, you'll be fine with these plugins.
>
> If you tell me, what you "did expect", I'd be able to go into more detail.
>
> -mario
>
>
--
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 post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.