Hi there!

     I'm using Vim to edit Java code. There's an annoying behavior that I would 
like to fix, but haven't had any success yet. The problem is that the 
indentation "disappears" when you insert blank lines. For example (and suppose 
that the "»" it's a tab):

Vim does...

»    »    for (String name: names) {
»    »    »    System.out.println("name="+name);

»    »    »    System.out.println("Done);
»    »    }

... and I would like it to be:

»    »    for (String name: names) {
»    »    »    System.out.println("name="+name);
»    »    »    
»    »    »    System.out.println("Done);
»    »    }

That is, after the first "println" I hit ENTER twice and I and would like that 
the blank line remains with indentation. How can I do this? Thanks a lot in 
advance!

Arménio Pinto

Reply via email to