Ignore vim swap files
Pre-5.18 fixes
Ignore tprof.out
Merge pull request #1 from tsee/master

Minor nits and pre-5.18 compat