From 6a5b6dc64016d32fa3357cf14f15902cac50807c Mon Sep 17 00:00:00 2001 From: Jeremy Barton Date: Thu, 29 Jan 2015 10:58:01 -0800 Subject: [PATCH] Add vim swp files to the gitignore. 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. --- .gitignore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index d0eee1b3e6ee..4a6f71a51923 100644 --- a/.gitignore +++ b/.gitignore @@ -235,3 +235,6 @@ Icon Network Trash Folder Temporary Items .apdisk + +# vim temporary files +.*.swp