There's probably a "best-practice" for managing you myLeoSettings.leo
file.  I just took a copy of the leoSettings.leo and changed the
heading text of the "@settings" node to "@ignore settings".  I then
created a new "@settings" node and added many of the my settings by
copying the nodes from the "@ignore settings" sub-nodes to the new
"@settings" node and modifying them.  To get get Vim support working
you need to do the following:

1. Modify the "@enabled-plugins" under the "Plugins" node which is
under the "@settings" node to enable the following plugins by
uncommenting them "open-with.py" and "vim.py" entries.

2. Modify the sub-nodes under "vim Plugin" node, located under the
above mentioned "Plugins" node, to specify where your vim installation
is located on your computer.  If your running under windows it might
look like this:

   @string vim_cmd = C:\Program Files\vim70\gvim --servername LEO

   @string vim_exe = C:\Program Files\vim70\gvim

I think that's all you need to do to get basic Vim functionality
working.  Just create a node in Leo with some text in the node's body
and then double-click on the node.  Vim should startup and display the
node's text for editing.

Once we get this functionality working then we can get work on
enhancing it.

Note: There are no "@<command>" statements that need to be placed into
the nodes.

Regards,
TL
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to