From 386614165ebd537cb106791ca7f34b5e08ba7baf Mon Sep 17 00:00:00 2001 From: dx Date: Sun, 21 Jun 2020 01:56:46 +0100 Subject: +for reverse loop snippet --- Doom/.doom.d/snippets/c++-mode/For_reverse | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 Doom/.doom.d/snippets/c++-mode/For_reverse (limited to 'Doom/.doom.d/snippets') 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 -- cgit v1.2.3-13-gbd6f