On Wed, Feb 18, 2026 at 11:22 AM JB via Remind-fans
<[email protected]> wrote:

> > cnoremap dtp execute '-r !zenity --calendar --date-format=\%F'
>
> Interesting idea!

It is, I think. I'll probably never actually use it. It was one of
those "how can i do this?" things.

> check out speeddating.vim

I installed in a few days ago and I like it. I especially appreciate
that it will "increment" the names of months, e.g., "Jan" becomes
"Feb" when you hit Ctrl-a.

> I also added this to my vimrc to quickly insert today's date in ISO
> format. My typical use is to insert today's date and then adjust it to
> whatever date I actually need.

That makes a lot of sense.

I have a couple of abbreviations I use to insert dates in insert mode:

:iab <expr> dts strftime("%F %R")    " e.g., 2020-01-16 20:50
:iab <expr> dtg strftime("%e %b %Y") " e.g., 16 Jan 2020

but I like the idea of using a keymap to insert the current ISO date.
I don't need the time when inserting a date in remind.

Perhaps I'll abbreviate "REM" to a template, inserting the current ISO
date and "MSG".

-- 
()  ascii ribbon campaign     * against html e-mail
/\  www.asciiribbon.org       * against proprietary attachments
Home: http://nlphilia.com     * Blog: http://nlphilia.net

_______________________________________________
Remind-fans mailing list
[email protected]
https://dianne.skoll.ca/mailman/listinfo/remind-fans
Remind is at https://dianne.skoll.ca/projects/remind/

Reply via email to