GPS +/- VIM

View: New views
5 Messages — Rating Filter:   Alert me  

GPS +/- VIM

by Toko-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Everybody,

As usual after a bigger update of my linux box,
I have waisted some time looking (quite wishfully)
for an IDE that would offer a good level of
integration with VIM. Once again I didn't find
anything satisfactory.

Although, I must say that I am quite impressed
with the current snapshot of GPS (It's my first
encounter of the IDE itself). I seems
to be thought over, functional and somehow
minimalistic at the same time. I do like it.

I played a bit with an external editor options
trying to use vim in xterm or gvim as a custom
editor. It's ok, but far from being integrated.
I have also noticed the "Emacs theme", although
from obvious reasons I wouldn't be able to
appreciate it. (Does it "do Emacs" inside of
the standard editor ?).

OK, my question is then: Would it be difficult
to ha a "VIM theme" ? I mean by this: To have
VIM fully integrated with the native GPS
editor. I'm asking if it's difficult because
GPS seems to be so close to my optimal IDE,
that I might offer some help in implementing
this missing bit in my spare time.
Or maybe someone is already working on it ?
Do you think that combining some bits of
the existing code with gnome VTE would
do the job ?

Best,
Tomek




_______________________________________________
gps-devel mailing list
gps-devel@...
http://lists.adacore.com/mailman/listinfo/gps-devel

Re: GPS +/- VIM

by Arnaud Charlet :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> Although, I must say that I am quite impressed
> with the current snapshot of GPS (It's my first
> encounter of the IDE itself). I seems
> to be thought over, functional and somehow
> minimalistic at the same time. I do like it.

Thanks for the kind note.

> OK, my question is then: Would it be difficult
> to ha a "VIM theme" ? I mean by this: To have
> VIM fully integrated with the native GPS
> editor.

Not quite sure what you have in mind; could you clarify ?
Do you mean, emulate VIM in the GPS editor ? Or integrate more
tighlty the real VIM as e.g. a GPS widget and add support for
contextual menus, etc... ?

Both are possible, although both are a substantial amount of work
wihch is currently not planed.

Arno
_______________________________________________
gps-devel mailing list
gps-devel@...
http://lists.adacore.com/mailman/listinfo/gps-devel

Re: GPS +/- VIM

by Emmanuel Briot :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> OK, my question is then: Would it be difficult
> to ha a "VIM theme" ? I mean by this: To have
> VIM fully integrated with the native GPS
> editor. I'm asking if it's difficult because
> GPS seems to be so close to my optimal IDE,
> that I might offer some help in implementing
> this missing bit in my spare time.
> Or maybe someone is already working on it ?
> Do you think that combining some bits of
> the existing code with gnome VTE would
> do the job ?

None of the GPS developers is a VIM expert (and in fact none of us uses
anything other than GPS for general development). Some used to be Emacs users
(I was the maintainer of the ada-mode for Emacs), but then we implemented
what we needed in GPS, switched IDEs, and never looked back :-)

You would have to be more precise in terms of what exactly you would like to
do in terms of integration. I believe that looking at the XML files and
Python scripts you would be able to do most things that you want, but that
might not be the case.
I suggest you give it a try, and if you have more precise questions, come back
to this list (this might in fact be of general interest to people who haven't
really looked at GPS customability, one of its great strength)

regards
Emmanuel
_______________________________________________
gps-devel mailing list
gps-devel@...
http://lists.adacore.com/mailman/listinfo/gps-devel

Re: GPS +/- VIM

by Martin Krischik :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

Strange, I never received the OP.

> > OK, my question is then: Would it be difficult
> > to ha a "VIM theme" ? I mean by this: To have
> > VIM fully integrated with the native GPS
> > editor.

Well I just use the external editor feature and call vim itself. VIM has so
much more edit functions that GPS cannot compete. Since both GPS and VIM
notice when the text is edited external it works quite well.

Only thing is: Don't use the build in vim options. That used a xterm and
starts a new vim for each call to "edit external" which is quite silly.

See my webspace for a better setup:

http://ada.krischik.com/index.php/VIM/GNATProgrammingSystem

Martin

--
Martin Krischik
mailto://krischik@...


_______________________________________________
gps-devel mailing list
gps-devel@...
http://lists.adacore.com/mailman/listinfo/gps-devel

attachment0 (196 bytes) Download Attachment

Parent Message unknown Re: GPS +/- VIM

by Toko-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> Not quite sure what you have in mind; could you clarify ?
> Do you mean, emulate VIM in the GPS editor ? Or integrate more
> tighlty the real VIM as e.g. a GPS widget and add support for
> contextual menus, etc... ?

What I meant was the second option, so more tight integration
of VIM. Optimally I would a GPS widget, like the standard editor,
with all the context menu and main menu related functionality,
code folding and code block range highlighting, plus it would
integrate VIM seamlessly, so VIM users could take the full advantage
of all the VIM quirks that, after a couple of years, become almost
indispensable.

Anyhow, thanks for the feedback.
I will try to look into that across the next couple of
months and maybe pop up with something at some point
around the Autumn.

Regards,
Tomek




_______________________________________________
gps-devel mailing list
gps-devel@...
http://lists.adacore.com/mailman/listinfo/gps-devel
LightInTheBox - Buy quality products at wholesale price!