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
I think this is a good idea, though with some caveats. Right now, the default new entry datetime is the moment you finish your entry, and I don't want to break that functionality with a new default.
However, I still want jrnl to support this use case and I think the best long-term way to do that would be through a combination of two enhancements:
Support the journal storage datetime format when composing new entries. Currently, you can start an entry with the command line format (e.g. "tomorrow:") but you can't use this bracketed format. I just filed this: Support bracketed date style when composing new entry #1915.
Support a templating format such as Jinja (Support Jinja syntax in templates #1661) and add a custom variable for time in brackets. Then a template could be made with this time in it. Since the template would get evaluated before it goes to the editor, it would populate your editor with the time that you ran jrnl, rather than the time that you finish writing the entry.
Use Case/Motivation
When I run
$ jrnl
, with my editor set to vim, I see an empty editor:If I edit an entry, the datetime is at the top left
Can we pre-place that value for the editor?
Example Usage
^
Other Information
No response
The text was updated successfully, but these errors were encountered: