This isn’t perfect, in that it doesn’t cope with the ‘nd’ in ‘2nd’, bit it’s good enough
A vim mapping to insert the day and date as a header for notes, journals etc
map <Leader>m :put =strftime('%A %dth %B %Y')<cr>:s/ 0/ /<cr>kJi## <Esc>
Bloke from Salisbury, England. In my 60's, somewhat unbelievably.
This isn’t perfect, in that it doesn’t cope with the ‘nd’ in ‘2nd’, bit it’s good enough
A vim mapping to insert the day and date as a header for notes, journals etc
map <Leader>m :put =strftime('%A %dth %B %Y')<cr>:s/ 0/ /<cr>kJi## <Esc>