#TodayILearned that to insert the current date in vim you can do:
:put =strftime('%d %B %Y')
I haven’t yet worked out how to make it insert 2nd, 15th etc rather than just 2, or 15.
#TodayILearned that to insert the current date in vim you can do:
:put =strftime('%d %B %Y')
I haven’t yet worked out how to make it insert 2nd, 15th etc rather than just 2, or 15.