Global Git Ignore
For years I dumped this into my .gitignore
files: *.sw?
. Then I realised that some people don't use Vim, and therefore probably don't want to see my editor-specific .gitignore
entries. Different editors handle swap and recovery files different ways, so it seems redundant to force these settings…