On Thu, Jul 2, 2009 at 6:51 PM, Ville M. Vainio<[email protected]> wrote:
> Has anyone tried open with vim with contextmenu.py already? I think it
> could work without doing anything. At least I don't see anything
> special in the code that wouldn't work. It just calls c.openWith that
> does most of the work (just like contextmenu.py).
Well, it "sort of" works, but doesn't. I made following fixes:
+++ leo/plugins/vim.py 2009-07-02 16:12:01 +0000
@@ -215,8 +215,8 @@
_vim_cmd = "/Applications/gvim.app/Contents/MacOS/gvim --servername LEO"
_vim_exe = "gvim"
else:
- _vim_cmd = "vim --servername LEO"
- _vim_exe = "vim"
+ _vim_cmd = "gvim --servername LEO"
+ _vim_exe = "gvim"
Also, I removed the (wrong) settings from leoSettings.leo.
Now, vim launches up but the text isn't loaded to it. This is on Ubuntu.
--
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
-~----------~----~----~----~------~----~------~--~---