summaryrefslogtreecommitdiff
path: root/snippets
diff options
context:
space:
mode:
Diffstat (limited to 'snippets')
-rw-r--r--snippets/text-mode/date1
-rw-r--r--snippets/text-mode/fname1
-rw-r--r--snippets/text-mode/random-num1
3 files changed, 3 insertions, 0 deletions
diff --git a/snippets/text-mode/date b/snippets/text-mode/date
index 14ee4ec..5197155 100644
--- a/snippets/text-mode/date
+++ b/snippets/text-mode/date
@@ -1,4 +1,5 @@
# -*- mode: snippet -*-
# key: date
+# condition: 'force-in-comment
# --
`(format-time-string "%Y-%m-%d")`$0 \ No newline at end of file
diff --git a/snippets/text-mode/fname b/snippets/text-mode/fname
index e5ca8ad..f80d053 100644
--- a/snippets/text-mode/fname
+++ b/snippets/text-mode/fname
@@ -1,4 +1,5 @@
# -*- mode: snippet -*-
# key: fname
+# condition: 'force-in-comment
# --
`(insert (file-name-nondirectory (buffer-file-name)))` $0 \ No newline at end of file
diff --git a/snippets/text-mode/random-num b/snippets/text-mode/random-num
index 2ef8c60..49aa627 100644
--- a/snippets/text-mode/random-num
+++ b/snippets/text-mode/random-num
@@ -1,5 +1,6 @@
# -*- mode: snippet -*-
# name: random number
# key: rnum
+# condition: 'force-in-comment
# --
`(random 4294967295)`$0 \ No newline at end of file