aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBardofSprites <[email protected]>2025-11-28 16:02:49 -0500
committerBardofSprites <[email protected]>2025-11-28 16:02:49 -0500
commit22807acab260628f203b90dc70a184ff00efe19e (patch)
tree6cf5c1a5e46f9da8a60b2f19c48aec12bb116573
parente0d54fe82ea5d6f8340b1bc54f77df2b0fbfa6da (diff)
snippets
-rw-r--r--snippets/c++-mode/for8
-rw-r--r--snippets/org-mode/hugotime6
-rw-r--r--snippets/org-mode/int5
3 files changed, 19 insertions, 0 deletions
diff --git a/snippets/c++-mode/for b/snippets/c++-mode/for
new file mode 100644
index 0000000..e60b0df
--- /dev/null
+++ b/snippets/c++-mode/for
@@ -0,0 +1,8 @@
+# -*- mode: snippet -*-
+# name: for loop
+# key: for
+# --
+
+for(int $1 = 0; $1 < $3; $1++) {
+ $4
+}
diff --git a/snippets/org-mode/hugotime b/snippets/org-mode/hugotime
new file mode 100644
index 0000000..013bea3
--- /dev/null
+++ b/snippets/org-mode/hugotime
@@ -0,0 +1,6 @@
+# -*- mode: snippet -*-
+# name: hugotime
+# key: hugotime
+# --
+
+[`(format-time-string "%Y-%m-%dT%H:%M:%S%z")`] \ No newline at end of file
diff --git a/snippets/org-mode/int b/snippets/org-mode/int
new file mode 100644
index 0000000..689ca00
--- /dev/null
+++ b/snippets/org-mode/int
@@ -0,0 +1,5 @@
+# -*- mode: snippet -*-
+# name: integral
+# key: int
+# --
+\int_{${1}}^{${2}}$0 dx