Click to See Complete Forum and Search --> : The power of vim in an IDE like eclipse/anjuta?


Fryguy8
02-27-2004, 09:26 PM
I really like having a 2 or 3-pane window for editing (tree of files on one side, code on the other, and maybe some extra things for shells/compiler output etc). However I want the code window to have the editing power of vim. Does anybody know of a setup like this? Or of possibly an efficient way to do it in vim?

Or some other ideas :) I'm open to any efficient programming workspace :)

JohnT
02-27-2004, 09:55 PM
I don't really know your specific prefrences but have you looked at "Net Beans" (http://www.netbeans.org/products/ide/)

Ludootje
02-29-2004, 04:36 PM
I'm pretty sure KDevelop can offer you this, using the vimpart component (basically, it plugs kvim into kdevelop if I understand correctly how it works).
It's possible that this doesn't work out-of-the-box yet though, so you might need some patches. Haven't done it myself though, so I might be mistaking ;)

Fryguy8
02-29-2004, 06:05 PM
god damnit.

why can't that be in gnome ;(


btw: you are right, there is a package called vimpart in debian's database, and it's description is:

Description: Vim Component for KDE
The Vimpart allows embedding of GVim or KVim inside many KDE apps
such as Konqueror, KWrite, KDevelop (3.x) ...

sounds almost exactly like what I want. Now I just need to figure out how I want to set this up :)

dboyer
02-29-2004, 06:54 PM
ive been using kate. works for me (file list on the left, fakie terminal on the bottom, and syntax highlighted text topright..)...

however, that is KDE too...

Fryguy8
02-29-2004, 09:10 PM
I'm almost thinking of just switching to a WM with tabbed browsing and open up a bunch of vims with tabs, since it seems like there isn't much that does really what I want on the gnome side of things.

hiwa
02-29-2004, 10:51 PM
Vim plugin for Eclipse:
http://www.satokar.com/viplugin/index.php
It is immature, but not completely unusable.

hammer123
03-10-2004, 06:09 AM
vi lets you open multiple windows. I don't know how though because I use emacs. Emacs lets you break up your text area into new "windows" like you are wanting with ^C-x 1 or ^C-x 3. Emacs supports vi emulation so you would not have to relearn your key strokes. You can find vim keystroke emulation directions here (http://www.amath.washington.edu/~lf/tutorials/autoconf/toolsmanual.html#SEC14). Also with gnome's virutal desktops you can get the effect of tabs using ^C ^A and the arrow keys. You can do what you were wanting to do with vi, I just don't know how. This seems to explain it for vim. (http://www.dc.turkuamk.fi/docs/soft/vim/vim_win.html)