TL <[EMAIL PROTECTED]> wrote: > These changes have given me a very usable Vi capability that works > well with Leo. As a result, it is not as important to me that Leo > have a full featured Vi editor emulated.
I am sceptical about implementing Vim features in Leo--there are too many of them. Would it be possible to use gVim as a Leo GUI? That is, I am suggesting to implement Leo as a gVim plugin written in Python. gVim is scriptable in Python (provided it was enabled during compiling) and in my (limited) experience integration of VimScript (or whatever it is called) with Python is flawless. The outline pane can be implemented as a buffer with folding enabled, for instance based on indent. There is a single pane Vim outliner: http://www.vimoutliner.org/, but I never bothered to try it because I learned about it after I found Leo. The disadvantages: the outline pane will look ugly; poor Unicode support and working with various encodings is hard; must use the same font in all panes; adding buttons is hard. Possible advantages of Leo implemented as a gVim plugin: tabs and windows--the same node can be opened and edited in multiple tabs and split windows within one tab; vim's folding is very fast, I suspect it should be no problem to have all nodes of LeoPy.leo expanded; folding in the body; sophisticated (but can be slow) syntax highlighting, we can have special syntax highlighting in the outline pane; active and friendly (I guess) Vim community. Please note that I am not a programmer, so I am not sure if this really makes sense. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
