aboutsummaryrefslogtreecommitdiff
path: root/Doom/.doom.d/snippets/c++-mode
diff options
context:
space:
mode:
authordx <aryadevchavali1@gmail.com>2020-06-21 01:56:46 +0100
committerdx <aryadevchavali1@gmail.com>2020-06-21 01:57:47 +0100
commit386614165ebd537cb106791ca7f34b5e08ba7baf (patch)
tree3cd0675a1687c14ed2904d8a251cf0bdca5b91ea /Doom/.doom.d/snippets/c++-mode
parent934e9e57c947ce05aef43956e2742e9acbf443ef (diff)
downloaddotfiles-386614165ebd537cb106791ca7f34b5e08ba7baf.tar.gz
dotfiles-386614165ebd537cb106791ca7f34b5e08ba7baf.tar.bz2
dotfiles-386614165ebd537cb106791ca7f34b5e08ba7baf.zip
+for reverse loop snippet
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