caveat: I am a very basic/beginning user of TWC.
I don't like coming into a conversation in the middle, but.here goes:
...can anyone tell me how to invoke an external editor for a tiddler?
I do all my editing in gvim using FireFox, and I use an Extension called
It's All Text!. This enables you to set up an external editor to launch
for ANY text field in a web page. You point it to your favorite editor,
and in any text field it will put a small button that reads Edit. You
click that button to launch your editor. Sometimes I have to click it
twice. Also, you can set up a hot key to launch. It seems to work in both
Linux (my environment), and Windows w/ gvim installed.
I have not yet found an alternative for Chrome which is the only other
browser I use.
--
Dave H
On Monday, June 1, 2015 at 1:33:11 PM UTC-4, R Ax wrote:
Hi Jeremy and others,
Any progress on this?
Alternatively, can anyone tell me how to invoke an external editor for a
tiddler. I'd rather be working with a fully-functional version of Vim than
the cutdown version as implemented by CodeMirror.
Thanks
On Monday, May 18, 2015 at 11:02:40 PM UTC+1, R Ax wrote:
Hi Jeremy,
Thanks for the response.
I can't reproduce the bug on the tiddlywiki site because I can't save
changes there. To reproduce the bug yourself, do the following;
1. Create a new tiddler titled $:/config/CodeMirror.
2. Paste the following code into this new tiddler;
{
require: [
$:/plugins/tiddlywiki/codemirror/mode/javascript/javascript.js,
$:/plugins/tiddlywiki/codemirror/addon/dialog/dialog.js,
$:/plugins/tiddlywiki/codemirror/addon/search/searchcursor.js,
$:/plugins/tiddlywiki/codemirror/addon/edit/matchbrackets.js,
$:/plugins/tiddlywiki/codemirror/keymap/vim.js,
],
configuration: {
keyMap: vim,
matchBrackets:true,
showCursorWhenSelecting: true
}
}
3. Set the type field of this tiddler to application/json.
4. Refresh for the changes to take effect.
5. If you now attempt to edit any tiddler, you will see a block cursor. Vim
is a modal editor and starts off in command mode.
6. Press the 'i' key. This will switch to insert mode. You can now type as
for a normal editor.
7. Entering the '#' or '~' key however should reproduce the error I
described.
Further details on configuring CodeMirror (which is where I got the
information on setting it up from) are to
be found in $:/plugins/tiddlywiki/codemirror/usage.
Thank you so much for your help.
On Monday, May 18, 2015 at 7:13:36 PM UTC+1, Jeremy Ruston wrote:
Hi R Ax
My apologies for the late reply. I'm not familiar with vim; could you
kindly list the step-by-step instructions that will reproduce the bug on
http://tiddlywiki.com/plugins/tiddlywiki/codemirror/
http://www.google.com/url?q=http%3A%2F%2Ftiddlywiki.com%2Fplugins%2Ftiddlywiki%2Fcodemirror%2Fsa=Dsntz=1usg=AFQjCNEG9hARuVPZYVYFqrjxcTi-wVMMtQ
?
Many thanks,
Jeremy,
On Thu, May 7, 2015 at 7:16 PM, R Ax rax@gmail.com wrote:
Hi guys,
I get the following error message whenever I type the characters '#' or
'~' in insert mode of vim emulation for CodeMirror.
TypeError: keyName.indexOf is not a function
I noticed a similar bug reported a year ago which was triggered by the
'=' character and which since appears to have been fixed.
Any ideas?
regards
--
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+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/4ca09d5c-839c-4228-b190-aee17f78bd5e%40googlegroups.com
https://groups.google.com/d/msgid/tiddlywiki/4ca09d5c-839c-4228-b190-aee17f78bd5e%40googlegroups.com?utm_medium=emailutm_source=footer
.
For more options, visit https://groups.google.com/d/optout.
--
Jeremy Ruston
mailto:jeremy...@gmail.com
--
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/96dff7ff-50f5-45f1-a9de-587492c12a08%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.