Re: embedding VIM
- Wow, Lawrence! I've been trying to come up with a way to do the same
thing you're doing (except with the Forte/NetBeans IDE). (I'd really like
it to run on Mac OS X too.) I'm impressed at how far you've gotten. I've
been planning on trying a client-server floating-vim-terminal-window
solution, but the client-server code doesn't work on non-gui VIMs. Please
keep us apprised of your progress. I'm all for vim 6.1 or 6.2 being
On Thu, 29 Nov 2001, Kesteloot, Lawrence wrote:
> I'm trying to embed gvim into another Windows program (the Eclipse IDE,
> written in Java). I've got gvim displaying correctly in a Java window and
> accepting mouse events, but it's not getting keyboard events. I suspect
> this is because the top-level window isn't registering vim's widget as
> having keyboard focus. I think I can fix that, but in the process of
> looking around I found that vim wants to do its own event processing (using
> GetMessage()). This conflicts with Eclipse, which also seems to want to do
> that. I think that KVim ran into this and they ended up implementing an
> out-of-process solution.
> Is making vim embeddable on the to-do list? What's the priority? I suppose
> that letting go of the event loop would be the first thing that needs to be
> Should I give up and go for an out-of-process solution as well, maybe using
> the new client/server code in vim? I really like the Eclipse IDE, but my
> productivity will drop if I can't use vim to edit code. Having a floating
> gvim that sorta communicates with Eclipse might work, but wouldn't be ideal.
> For optimum solutions that save you time, visit www.ds-s.com.