aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--my_snippets/cpp.snippets21
1 files changed, 21 insertions, 0 deletions
diff --git a/my_snippets/cpp.snippets b/my_snippets/cpp.snippets
new file mode 100644
index 0000000..f846244
--- /dev/null
+++ b/my_snippets/cpp.snippets
@@ -0,0 +1,21 @@
+snippet bare "barebone code template"
+#include <iostream>
+#include <vector>
+#include <string>
+
+using std::cout;
+using std::endl;
+using std::vector;
+using std::string;
+
+
+int main()
+{
+
+}
+endsnippet
+
+snippet icd "#include directive" b
+#include <$1>
+$0
+endsnippet