diff --git a/.gitignore b/.gitignore
index cac9794d48843b5300d5ead02b8b704e1745d24f..a0885e0c8da312adf694cfc66042e9d955b32628 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,6 +1,27 @@
 # Created by https://www.toptal.com/developers/gitignore/api/visualstudiocode,python,virtualenv
 # Edit at https://www.toptal.com/developers/gitignore?templates=visualstudiocode,python,virtualenv
 
+### Vim ###
+## Swap
+[._]*.s[a-v][a-z]
+!*.svg  # comment out if you don't need vector files
+[._]*.sw[a-p]
+[._]s[a-rt-v][a-z]
+[._]ss[a-gi-z]
+[._]sw[a-p]
+
+## Session
+Session.vim
+Sessionx.vim
+
+## Temporary
+.netrwhist
+*~
+## Auto-generated tag files
+tags
+## Persistent undo
+[._]*.un~
+
 ### Python ###
 # Byte-compiled / optimized / DLL files
 __pycache__/
@@ -199,4 +220,4 @@ pip-selfcheck.json
 .history
 .ionide
 
-# End of https://www.toptal.com/developers/gitignore/api/visualstudiocode,python,virtualenv
\ No newline at end of file
+# End of https://www.toptal.com/developers/gitignore/api/visualstudiocode,python,virtualenv