Support multiple alert types
Ignore swp files