From f584494b8a1a5a5849806ceec80d9ffc5ce4f5ec Mon Sep 17 00:00:00 2001 From: Michael Lynch Date: Thu, 1 Nov 2018 09:12:39 -0400 Subject: [PATCH 1/2] Adding *.swo to gitignore --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index acb9a3b2..2b927263 100644 --- a/.gitignore +++ b/.gitignore @@ -49,6 +49,7 @@ *.pyo *~ *.swp +*.swo *.mo *.patch From 197e81d5f98c88d9fe823c6bd7a7b013f88bfc3a Mon Sep 17 00:00:00 2001 From: Ben Sturmfels Date: Fri, 20 Sep 2019 09:58:15 +1000 Subject: [PATCH 2/2] Add expression to ignore Vim temporary swap files. I gather that Vim continues back through the alphabet with .swp, swo, swn etc: https://groups.google.com/forum/#!msg/vim_use/JBHSs3kPPJU/X9WeMsZcfWAJ --- .gitignore | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 2b927263..63c47d4d 100644 --- a/.gitignore +++ b/.gitignore @@ -48,8 +48,7 @@ *.pyc *.pyo *~ -*.swp -*.swo +*.sw? *.mo *.patch