Re: launching vim from eclipse

2007-05-20 Thread fREW

On 5/18/07, y m [EMAIL PROTECTED] wrote:

Thanks for your reply. I guess I should have been more specific. Yes I
tried doing that but I would like 2 additional functionalities which
the Visvim ole interface to MS Visual Studio does: 1. I want to be
able to open vim with the currently displayed file instead of having
to navigate to it through the left hand package view. 2. After opening
the file, I want vim to jump to the line currently displayed in the
eclipse editor. I suppose I will have to write my own ole plugin to do
this, but I was hoping something like this already existed so I
wouldn't have to reinvent the wheel.



I don't know of anything that works that way, but it should be that
hard.  Eclipse is good about things like that.  Just make a hotkey or
something that will run gvim -c :line number or something like that.
Eclipse often makes such variables for things like that.  I don't
know off hand though.

-fREW


Re: launching vim from eclipse

2007-05-18 Thread y m

Thanks for your reply. I guess I should have been more specific. Yes I
tried doing that but I would like 2 additional functionalities which
the Visvim ole interface to MS Visual Studio does: 1. I want to be
able to open vim with the currently displayed file instead of having
to navigate to it through the left hand package view. 2. After opening
the file, I want vim to jump to the line currently displayed in the
eclipse editor. I suppose I will have to write my own ole plugin to do
this, but I was hoping something like this already existed so I
wouldn't have to reinvent the wheel.

On 5/17/07, fREW [EMAIL PROTECTED] wrote:

On 5/17/07, y m [EMAIL PROTECTED] wrote:
 In Visual Studio, you can use the visvim ole plugin to open the
 currently displayed file in vim. Is there a similar plugin available
 for eclipse? I see that there is a viPlugin for eclipse which lets you
 edit files directly in eclipse using vi keystrokes. However, I want to
 externally launch vim from eclipse since I have many customizations in
 vim which the viPlugin does not support. Thank you.


I am pretty sure you can set it up in the setting somewhere.  It ends
up with you right-clicking the file and then clicking open with gvim
in the menu.

-fREW



launching vim from eclipse

2007-05-17 Thread y m

In Visual Studio, you can use the visvim ole plugin to open the
currently displayed file in vim. Is there a similar plugin available
for eclipse? I see that there is a viPlugin for eclipse which lets you
edit files directly in eclipse using vi keystrokes. However, I want to
externally launch vim from eclipse since I have many customizations in
vim which the viPlugin does not support. Thank you.