summaryrefslogtreecommitdiff
path: root/config/emacs/templates/c.eld
diff options
context:
space:
mode:
authorThomas Ulmer <thomasmulmer02@gmail.com>2026-02-04 14:24:16 -0800
committerThomas Ulmer <thomasmulmer02@gmail.com>2026-02-04 14:24:16 -0800
commit9139a1b136fa2b5adfcac0ac09a4f61aa1ee1ff4 (patch)
treede82bc4776b87f1fbb86f14b4a15d35d009ddd28 /config/emacs/templates/c.eld
parenta9bf8f30c746f5b28bb7eb6938e8390127081a32 (diff)
full reorg
Diffstat (limited to 'config/emacs/templates/c.eld')
-rw-r--r--config/emacs/templates/c.eld5
1 files changed, 5 insertions, 0 deletions
diff --git a/config/emacs/templates/c.eld b/config/emacs/templates/c.eld
new file mode 100644
index 0000000..fdb899f
--- /dev/null
+++ b/config/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> "}")