]> source.dussan.org Git - gitignore.git/commitdiff
Ignore Vim untitled and unsaved buffer swapfiles 576/head
authorNysa <nysa@nysavann.com>
Wed, 6 Mar 2013 17:02:36 +0000 (11:02 -0600)
committerNysa <nysa@nysavann.com>
Wed, 6 Mar 2013 17:02:36 +0000 (11:02 -0600)
Vim creates buffer swapfiles starting at .swp for buffers that are
active but untitled and unsaved.

Global/vim.gitignore

index 51514eb2717ba8b3b53e4a178f128bbc3c95183f..eadcec7a9e2ac26a3f89ab58fad5aefe9181beae 100644 (file)
@@ -1,4 +1,4 @@
-.*.s[a-w][a-z]
+*.s[a-w][a-z]
 *.un~
 Session.vim
 .netrwhist