Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Java by (3.9k points)

I'm addicted to Vim, it's now my de facto way of editing text files.

Being that it's mainly a text editor and not an IDE, has anyone got tricks for me to make it easier when developing Java apps?

Some questions I have:

  • How do I invoke a maven task without leaving vi?
  • Can I get code completion?
  • How's the syntax highlighting?

Anything else (other than "Don't do it!") that I should know about?

1 Answer

0 votes
by (46k points)

Some tips:

  • Make sure you use vim (vi improved). Linux and some versions of UNIX symlink vi to vim.
  • You can get code completion with eclim
  • Or you can get vi functionality within Eclipse with viPlugin
  • Syntax highlighting is great with vim
  • Vim has good support for writing little macros like running ant/maven builds

Have fun :-)

Related questions

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...