?

Log in

No account? Create an account

Vim (2)

I've been using vim for long time. Last weeks I've been improving my configuration, and now I have:

* Integration with quilt
* Navigate into deb files
* It shows C functions prototypes
* auto-completion of C structures
* auto-completion of known strings
* Project management
* syntax correction
* translate documents with apertium
* doxygen function auto-comment
* extended shell scripts support (snippets insertion, syntax correction, parameters control...)
* highlight current line
* show unified diff for local file changes

And now: I must to program in java. I don't like it, and the worst is that the better I found to program in java is Eclipse. It's powerful but it needs a lot of processor, memory...

Recently I've discovered eclim, a vim plugin that integrates Eclipse on it!!! The only "problem" I found on it is that it need eclipse 3.3 and in Debian we only have 3.2. I've downloaded and old eclim version (1.2.3) and it seems to work nice in Debian.

Comments

Ok, now I feel like a loser in the editor wars, because I have always wanted those eclipse things that eclim offers, without using eclipse, but in emacs. Sure, its default java mode is better than vim's java mode, but this looks way better. :)

(Anonymous)

Like this?

Emacs has ECB (http://ecb.sourceforge.net/screenshots/index.html).
But it seems too forced, really.

(Anonymous)

Re: Like this?

ECB doesn't give you autocompletion of methods. It only gives you tree view/hiostry/method list and so on. Another thing is that the method/class list does not support generics (as far as I know).

For autocompletion in Emacs, you need to turn to JDEE or Xref.

(Anonymous)

JDEE & Eclipse compiler

For autcompletion, use JDEE (it's not as good as this VIM example though). For on-the-fly compilation/syntax checking, use the ECB Eclipse compiler.

(Anonymous)

Re: JDEE & Eclipse compiler

that should have been ECJ :-) See http://www.credmp.org/index.php/2007/07/20/on-the-fly-syntax-checking-java-in-emacs/

-T

(Anonymous)

is that colorscheme professional you are using? for me the colors look quite different

vim is nice

I see a custom function that invokes aspell in your .vimrc. Have you tried vim's built-in spell checker (z= gives a list of suggestions for the word under cursor)? I find its suggestions to be very accurate.

Re: vim is nice

The only difference is that using z= you have a long column, and with my function you have all in one line

(Anonymous)

java editor wars

I've found netbeans to be light-years better than eclipse, in terms of speed and usability.

(Anonymous)

.viminfo

your puntvim27.tgz contains your .viminfo

(Anonymous)

Snx for you job!

Snx for you job!
It has very much helped me!

June 2009

S M T W T F S
 123456
78910111213
14151617181920
21222324252627
282930    
Powered by LiveJournal.com