Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

share eclim -friendly .vimrc

Tags:

vim

eclim

I am trying to to use eclim for my daily development requirements. My .vimrc has some issues preventing few functionalities like code completion etc.

It would be great if anyone using eclim regularly share your .vimrc.

like image 517
Vamshi Avatar asked Dec 28 '25 21:12

Vamshi


1 Answers

You can find my vim setup on github. I use eclim to do Android development.

See visualstudioinvoke.vim for how I launch Vim from eclim. This isn't necessary, but it's useful to start at the current line in the current file. It also sets up my eclim menu, bindings, and settings.

It's best to start the eclim server (by opening the "Eclim" eclipse tab) before you start gvim.

I have eclim's code completion mapped to Ctrl-Space.

You won't get any code completion for classes that aren't in the scope of the current file. To import, I have a menu option under Eclim > ImportMissing.


However, my vimrc might be pretty alien to you, so you might be better served whittling down your vimrc until you figure out what's breaking things. The default map for completions is Ctrl-x Ctrl-u. You can use :verb map <C-x> to search for maps that start the same way and it will show you where they're defined.

If you use SuperTab, try disabling it. SuperTab and eclim are both maintained by
Eric Van Dewoestine so they should be compatible, but you may have a SuperTab configuration problem.

You could also try updating all of your plugins.

like image 155
idbrii Avatar answered Dec 30 '25 23:12

idbrii



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!