diff --git a/.gitignore b/.gitignore
index db6b1e042d4503c2b0ba495d582b842e77f63bb5..e8ba8747559abdacd563868545e2a6666be82a3c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,6 +5,7 @@ build/
 CMakeFiles/
 CMakeCache.txt
 .\#*
+.*.swp
 .DS_Store
 /compile_commands.json
 GPATH