MDL-64443 git: Excluded vim swap files
Vim swap filenames are deterministic someway. Refs: - http://vimdoc.sourceforge.net/htmldoc/recover.html#swap-file - https://github.com/vim/vim/blob/4efe73b478d3ba689078da502fd96f45204ff1f5/src/memline.c#L4683 - https://unix.stackexchange.com/a/326737 - https://github.com/github/gitignore/blob/master/Global/Vim.gitignore
This commit is contained in:
committed by
Eloy Lafuente (stronk7)
parent
5d25911f42
commit
4945e2e146
+10
-2
@@ -9,10 +9,18 @@
|
||||
#
|
||||
# See gitignore(5) man page for more details
|
||||
#
|
||||
|
||||
# Swap files (vim)
|
||||
[._]*.s[a-v][a-z]
|
||||
[._]*.sw[a-p]
|
||||
[._]s[a-rt-v][a-z]
|
||||
[._]ss[a-gi-z]
|
||||
[._]sw[a-p]
|
||||
# Temporary files including undo
|
||||
*~
|
||||
#
|
||||
/config.php
|
||||
/lib/editor/tinymce/extra/tools/temp/
|
||||
*~
|
||||
*.swp
|
||||
/tags
|
||||
/TAGS
|
||||
/cscope.*
|
||||
|
||||
Reference in New Issue
Block a user