gitignore: ignore files for vim/vscode
Change-Id: I44589841a0dea49caec730154b80ccb166ff1c28
Signed-off-by: John Wang <wangzhiqiang02@ieisystem.com>
diff --git a/.gitignore b/.gitignore
index 84e0c9c..dd55fb9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,38 @@
# Repo Specific Items
-build/
+build*/
+subprojects/*
+!subprojects/*.wrap
+
+## 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
+*~
+
+# Persistent undo
+[._]*.un~
+
+## YCM ##
+.cache/*
+
+## Vscode ##
+.vscode/*
+!.vscode/settings.json
+!.vscode/tasks.json
+!.vscode/launch.json
+!.vscode/extensions.json
+
+# Local History for Visual Studio Code
+.history/
+