xerakko ([info]xerakko) wrote,
@ 2007-12-05 22:19:00
Previous Entry  Add to memories!  Tell a Friend  Next Entry
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.




(11 comments) - (Post a new comment)


[info]jooon
2007-12-05 11:45 pm UTC (link)
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. :)

(Reply to this) (Thread)

Like this?
(Anonymous)
2007-12-06 04:05 am UTC (link)
Emacs has ECB (http://ecb.sourceforge.net/screenshots/index.html).
But it seems too forced, really.

(Reply to this) (Parent)(Thread)

Re: Like this?
(Anonymous)
2007-12-07 12:28 am UTC (link)
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.

(Reply to this) (Parent)

JDEE & Eclipse compiler
(Anonymous)
2007-12-07 12:30 am UTC (link)
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.

(Reply to this) (Parent)(Thread)

Re: JDEE & Eclipse compiler
(Anonymous)
2007-12-07 12:31 am UTC (link)
that should have been ECJ :-) See http://www.credmp.org/index.php/2007/07/20/on-the-fly-syntax-checking-java-in-emacs/

-T

(Reply to this) (Parent)


(Anonymous)
2007-12-06 09:11 am UTC (link)
is that colorscheme professional you are using? for me the colors look quite different

(Reply to this)

vim is nice
[info]Marius Gedminas [gedmin.as]
2007-12-06 11:55 am UTC (link)
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.

(Reply to this) (Thread)

Re: vim is nice
[info]xerakko
2007-12-07 09:53 pm UTC (link)
The only difference is that using z= you have a long column, and with my function you have all in one line

(Reply to this) (Parent)

java editor wars
(Anonymous)
2007-12-06 03:03 pm UTC (link)
I've found netbeans to be light-years better than eclipse, in terms of speed and usability.

(Reply to this)

.viminfo
(Anonymous)
2007-12-08 08:35 pm UTC (link)
your puntvim27.tgz contains your .viminfo

(Reply to this)

Snx for you job!
(Anonymous)
2008-03-20 10:37 am UTC (link)
Snx for you job!
It has very much helped me!

(Reply to this)


(11 comments) - (Post a new comment)

Create an Account
Forgot your login or password?
Login w/ OpenID
English • Español • Deutsch • Русский…