When asking a question in Leo's IRC channel it's wise not to log off. That
way people can respond to your question over the next hours or days.
There are several ways to insert dates or times:
1. Bind a key to the insert-body-time or insert-headline-time commands.
See leoSettings.leo, the node:
@settings-->Keyboard shortcuts
2. You can use abbreviations to insert dates or timestamps. The
abbreviations I use are right out of the examples in
leo/config/exampleSettings.leo::
date;;={|{x=time.strftime("%Y/%m/%d")}|}
ts;;={|{x=time.strftime("%Y%m%d%H%M%S")}|}
tss;;={|{x=time.strftime("%Y%m%d")}|}
With these abbreviations in effect (you must set @bool
scripting-abbreviations = True), typing date;; will insert 2015/04/13 and
ts;; will insert something like 20150413171227.
Edward
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.