On Sat, Jul 11, 2009 at 2:31 AM, tfer<[email protected]> wrote:

> Got a chance to try this, (in rev2217), after I got home, it works
> fine.
>
> It would be nice if it attached to currently running session.

vim.py plugin attaches to the currently running session. It's just a
matter of providing the right command in EDITOR (e.g. emacsclient for
emacs).

> Also, hoe about support for multiple editors?  Say with an environment
> variable set like this:
>
> EDITOR=ScITE;gvim

You can execute a script that changes es.environ["LEO_EDITOR"] while
leo is running (the editor is "calculated" every time the menu is
popped up).

Having multiple values in EDITOR would be bad, because it would break
many other unix programs (e.g. bzr). We/someone might want to
introduce a flexible way of adding the rclick items by just editing
the outline, but we'll see what the best way would be.

-- 
Ville M. Vainio
http://tinyurl.com/vainio

--~--~---------~--~----~------------~-------~--~----~
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