Problem: vim swap files are not ignored by git

Solution: add patterns to ignore them.
This commit is contained in:
vrde 2018-03-22 15:22:37 +01:00
parent 9cdd46c084
commit ee6170ee88
No known key found for this signature in database
GPG Key ID: 6581C7C39B3D397D
1 changed files with 15 additions and 0 deletions

15
.gitignore vendored
View File

@ -6,6 +6,21 @@ __pycache__/
# C extensions
*.so
# Swap -- copypasta from https://github.com/github/gitignore/blob/master/Global/Vim.gitignore
[._]*.s[a-v][a-z]
[._]*.sw[a-p]
[._]s[a-v][a-z]
[._]sw[a-p]
# Session
Session.vim
# Temporary
.netrwhist
*~
# Auto-generated tag files
tags
# Distribution / packaging
.Python
env/