title: Vim & Java: add java import statements automatically
body: <p><a href="http://vim.wikia.com/wiki/Add_Java_import_statements_automatically" rel="nofollow noreferrer">The tip.</a> The errors are "E349: No identifier unders cursor", "E433: No tags file" and "E426: tag not found: public". I feel them unrelated or I cannot understand their message. I have the code in "~/.vimrc" and pressed "F1", "F9" and "ESC". A <a href="http://vim.wikia.com/wiki/Type_and_run_templates_instead_of_routine_code" rel="nofollow noreferrer">related tip</a> but more advanced. so how can I add Java import statements automatically in Vim?</p>
  
  <p><strong>[Added]</strong> I use Eclipse on the side but when it is down-or-slow-or-compiling-or-doning-something-stupid I use Vim. So stop here. What are the errs for?</p>