summaryrefslogtreecommitdiffstats
path: root/snippets/c++-mode
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander.sulfrian@fu-berlin.de>2016-02-03 21:53:13 +0100
committerAlexander Sulfrian <alexander.sulfrian@fu-berlin.de>2016-02-03 21:53:13 +0100
commitdd3dff6eebcd8fb14d8ba9b0666365bea62e5d81 (patch)
tree15344c68c599cef88689ea5e36c584a4fe2534d9 /snippets/c++-mode
parent3f5edbfe13f4bca10274e0999376502fa9ed346d (diff)
downloademacs-dd3dff6eebcd8fb14d8ba9b0666365bea62e5d81.tar.gz
emacs-dd3dff6eebcd8fb14d8ba9b0666365bea62e5d81.tar.xz
emacs-dd3dff6eebcd8fb14d8ba9b0666365bea62e5d81.zip
Add own snippets
Diffstat (limited to 'snippets/c++-mode')
-rw-r--r--snippets/c++-mode/#i.yasnippet4
-rw-r--r--snippets/c++-mode/local-#i.yasnippet5
2 files changed, 9 insertions, 0 deletions
diff --git a/snippets/c++-mode/#i.yasnippet b/snippets/c++-mode/#i.yasnippet
new file mode 100644
index 0000000..b150d38
--- /dev/null
+++ b/snippets/c++-mode/#i.yasnippet
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+# name: #include <...>
+# --
+#include <$0> \ No newline at end of file
diff --git a/snippets/c++-mode/local-#i.yasnippet b/snippets/c++-mode/local-#i.yasnippet
new file mode 100644
index 0000000..ceb4b37
--- /dev/null
+++ b/snippets/c++-mode/local-#i.yasnippet
@@ -0,0 +1,5 @@
+# -*- mode: snippet -*-
+# name: #include "..."
+# key: #i
+# --
+#include "$0" \ No newline at end of file