Skip to content

Commit

Permalink
Add vim swp files to the gitignore.
Browse files Browse the repository at this point in the history
On a default windows LFN system and the *nix installs the swp file will be prefixed with a ., so the pattern takes that into account.  It can be relaxed if it's found to be under-matching.

This also only looks at the primary .swp, and doesn't encode the fallback logic (.swp => .swo => .swn => ... => .swa).  If needed, it can be added later.
  • Loading branch information
bartonjs committed Jan 29, 2015
1 parent 368628a commit 6a5b6dc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -235,3 +235,6 @@ Icon
Network Trash Folder
Temporary Items
.apdisk

# vim temporary files
.*.swp

0 comments on commit 6a5b6dc

Please sign in to comment.