summaryrefslogtreecommitdiffstats
path: root/emacs.d/snippets/text-mode/cc-mode
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2010-01-24 22:49:41 +0100
committerAlexander Sulfrian <alexander@sulfrian.net>2010-01-24 22:49:41 +0100
commitc7ffe421c2d5d36f6bdaf4b6918997ee91382693 (patch)
tree645842307425a1e82917271d046bdb14ac11d7aa /emacs.d/snippets/text-mode/cc-mode
parent5c30e6c157fcf1e181e6fa0b910aa3e1032de2c0 (diff)
downloaddotfiles-c7ffe421c2d5d36f6bdaf4b6918997ee91382693.tar.gz
dotfiles-c7ffe421c2d5d36f6bdaf4b6918997ee91382693.tar.xz
dotfiles-c7ffe421c2d5d36f6bdaf4b6918997ee91382693.zip
modified c/c++-mode, added #include snippets
Diffstat (limited to 'emacs.d/snippets/text-mode/cc-mode')
-rw-r--r--emacs.d/snippets/text-mode/cc-mode/c++-mode/#i.yasnippet4
-rw-r--r--emacs.d/snippets/text-mode/cc-mode/c++-mode/local-#i.yasnippet5
2 files changed, 9 insertions, 0 deletions
diff --git a/emacs.d/snippets/text-mode/cc-mode/c++-mode/#i.yasnippet b/emacs.d/snippets/text-mode/cc-mode/c++-mode/#i.yasnippet
new file mode 100644
index 0000000..b150d38
--- /dev/null
+++ b/emacs.d/snippets/text-mode/cc-mode/c++-mode/#i.yasnippet
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+# name: #include <...>
+# --
+#include <$0> \ No newline at end of file
diff --git a/emacs.d/snippets/text-mode/cc-mode/c++-mode/local-#i.yasnippet b/emacs.d/snippets/text-mode/cc-mode/c++-mode/local-#i.yasnippet
new file mode 100644
index 0000000..ceb4b37
--- /dev/null
+++ b/emacs.d/snippets/text-mode/cc-mode/c++-mode/local-#i.yasnippet
@@ -0,0 +1,5 @@
+# -*- mode: snippet -*-
+# name: #include "..."
+# key: #i
+# --
+#include "$0" \ No newline at end of file