Is there a way to edit queries with an external editor such as vim without manual copy-paste?

Alternatively, are there any free add-ins that provide a decent editor?

Even notepad is better than the builtin (for Access 2002, at least) and that is quite sad.