I just read about a great command in the Vim editor and figured I'll put it up just in case someone is interested (:
The command is: !command (where command is a linux command), Vim will exit, run that command on the shell line, output the output and all you have to do is hit "enter" to go back to the code!
Here's an example. Say you're editing a java file called somejavacode.java and you'd like to compile it. Well you don't even have to exit your java file! Here's all you have to do:
This will exit vim, compile the java file, output whatever the output is (errors if there are any) and wait for you to hit "enter" to get back to your java file!
What can I say - It's all about the little things! (: