add swap files to .gitignore
add c, g, m