From 6e20368b93d57efaa5aab7901ae436ddaccd156a Mon Sep 17 00:00:00 2001 From: Thomas Ulmer Date: Mon, 21 Jul 2025 09:44:06 -0700 Subject: tempel setup --- emacs/templates/c.eld | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 emacs/templates/c.eld (limited to 'emacs/templates') diff --git a/emacs/templates/c.eld b/emacs/templates/c.eld new file mode 100644 index 0000000..fdb899f --- /dev/null +++ b/emacs/templates/c.eld @@ -0,0 +1,5 @@ + +c-mode + +(for > "for (" p "; " p "; " p ") {" n> (p "body;") n> "}") +(fori > "for (int i = 0; i < " p "; ++i) {" n> (p "body;") n> "}") -- cgit v1.2.3