On (10:30 14/11/06), David Woodfall <[EMAIL PROTECTED]> put forth the 
proposition:
> I would like to make a command that would insert at cursor todays date,
> and also a command to insert some custom text.
> 
> In the help file it shows how to make a keybind to do this but I would
> rather use a command - eg :date
> 
> Can this be done?

Ok I've just found the :command command but I'm having problems:

:command Date :read !date +%d-%b-%Y

This prints xxd-xxb-xxY

!date with no options works fine on it's own. I have tried putting the
options in "" and '' but still no go.

> 
> Thanks
> -- 
> I don't care for the Sugar Smacks commercial.  I don't like the idea of
> a frog jumping on my Breakfast.
>               -- Lowell, Chicago Reader 10/15/82

-- 
"At a recent meeting in Snowmass, Colorado, a participant from Los
Angeles fainted from hyperoxygenation, and we had to hold his head
under the exhaust of a bus until he revived."

Reply via email to