You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/orgmode.txt
+11-1Lines changed: 11 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -568,7 +568,7 @@ Variables:
568
568
* `%x`: Insert content of the clipboard via the "+" register (see :help clipboard)
569
569
* `%?`: Default cursor position when template is opened
570
570
* `%^{PROMPT|DEFAULT|COMPLETION...}`: Prompt for input, if completion is provided an :h inputlist will be used
571
-
* `%(EXP)`: Runs the given lua code and inserts the result
571
+
* `%(EXP)`: Runs the given lua code and inserts the result. NOTE: this will internally pass the content to the lua `load()` function. So the body inside `%()` should be the body of a function that returns a string.
0 commit comments