aboutsummaryrefslogtreecommitdiff
path: root/Doom/.doom.d/snippets/c++-mode
diff options
context:
space:
mode:
Diffstat (limited to 'Doom/.doom.d/snippets/c++-mode')
-rw-r--r--Doom/.doom.d/snippets/c++-mode/For_reverse7
1 files changed, 7 insertions, 0 deletions
diff --git a/Doom/.doom.d/snippets/c++-mode/For_reverse b/Doom/.doom.d/snippets/c++-mode/For_reverse
new file mode 100644
index 0000000..6dd5f56
--- /dev/null
+++ b/Doom/.doom.d/snippets/c++-mode/For_reverse
@@ -0,0 +1,7 @@
+# -*- mode: snippet -*-
+# name: For_reverse
+# key: forr
+# --
+for (${1:int} ${2:i} = ${3:sz}; $2 >= ${4:0}; --$2) {
+ $0
+} \ No newline at end of file