added a regex check to ensure my vim swp files arent loaded

fix for issue #15 where my vim .swp files were being auto-loaded as command modules.

I put together a basic regex check, didn't spend that much time thinking out edge cases so outstanding issues may exist.  let me know if you want any adjustments to it.