It will probably automatically syntax highlight for you, if the files have the correct extension. But if you are learning Java, an IDE like Eclipse might better suit you. I use Vim only because there isn't an IDE for the language I use a lot, Informix 4GL. I also use it when I need to...