summaryrefslogtreecommitdiffstats
path: root/emacs.d/lisp/yasnippet/snippets/cc-mode/for
diff options
context:
space:
mode:
Diffstat (limited to 'emacs.d/lisp/yasnippet/snippets/cc-mode/for')
-rw-r--r--emacs.d/lisp/yasnippet/snippets/cc-mode/for6
1 files changed, 6 insertions, 0 deletions
diff --git a/emacs.d/lisp/yasnippet/snippets/cc-mode/for b/emacs.d/lisp/yasnippet/snippets/cc-mode/for
new file mode 100644
index 0000000..c4cade6
--- /dev/null
+++ b/emacs.d/lisp/yasnippet/snippets/cc-mode/for
@@ -0,0 +1,6 @@
+#name : for (...; ...; ...) { ... }
+# --
+for (${1:int i = 0}; ${2:i < N}; ${3:++i})
+{
+ $0
+} \ No newline at end of file