Add expression to ignore Vim temporary swap files.
authorBen Sturmfels <ben@sturm.com.au>
Thu, 19 Sep 2019 23:58:15 +0000 (09:58 +1000)
committerBen Sturmfels <ben@sturm.com.au>
Thu, 19 Sep 2019 23:58:15 +0000 (09:58 +1000)
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

index 2b92726369d7a44d3664b22cbddc37f30c938890..63c47d4d01a0427312b0fefd5de452ee77eab74a 100644 (file)
@@ -48,8 +48,7 @@
 *.pyc
 *.pyo
 *~
-*.swp
-*.swo
+*.sw?
 *.mo
 *.patch