vim as the editor

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

vim as the editor

Raghu
Dear all,

Is the a way to use vim as a script editor for Fiji instead of the
default editor it provides.

Thanks,
Raghu

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: vim as the editor

Jose Guzman-2
On 06/02/14 11:24, Raghu wrote:
> Dear all,
>
> Is the a way to use vim as a script editor for Fiji instead of the
> default editor it provides.
>

Hi Raghu,

I use VIM as the default editor with the ijmacro syntax pluging. You can
download it here:

http://cmci.embl.de/downloads/vim_syntaxhighlighter

Feel free to contact me if you need help with its installation.

Best

Jose


--
Jose Guzman
http://www.ist.ac.at/~jguzman/

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: vim as the editor

dscho
In reply to this post by Raghu
Hi Raghu,

On Thu, 6 Feb 2014, Raghu wrote:

> Is the a way to use vim as a script editor for Fiji instead of the
> default editor it provides.

There is no easy way as of now, unfortunately.

As a work-around (until somebody implements a way to communicate with the
ImageJ2 scripting layer from outside of Fiji), you could open the same
file in the script editor *and* in vim (on the console or in GUI mode,
does not matter). Then, whenever you changed something in vi and saved it,
switch to the script editor. It will detect that the file has changed and
ask you whether to reload it.

It is not the easiest to work with, but for the moment this is the best I
can do for you...

Ciao,
Johannes

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html