It would be very helpful to have a way to insert custom dates via a snippet. Either using the Edit->Insert Date->Custom Date Format or via predefining the strftime-syntax inside the snippet itself.
Usecase:
Inserting a string like:
2015-10-14 17:40: operations: flow:
without typing to much (as it is always the same beside the current timestamp)
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/695
Why don't you just run the date command via the command directive in the snippets.conf? For example I'm doing something like this when writing RPM specfiles:
``` # RPM Spec File specific shortcuts rlog=* {command:date +"%a %b %d %Y"} %fauthor% - %cursor%%newline%- %cursor%%newline% ```
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/695#issuecomment-148168945
Well. That did the trick wasn't aware of command placeholder. Solved at least my issue.
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/695#issuecomment-148299157
Closed #695.
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/695#event-436059083
github-comments@lists.geany.org