On Tue, Nov 14, 2006 at 10:30:58AM +0000, David Woodfall wrote:
> 
> 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?
> 

map <F5> :r !date<CR>

gives:
-
Tue Nov 14 11:17:52 UTC 2006


Steven.
-- 
Hand, n.:
        A singular instrument worn at the end of a human arm and
commonly thrust into somebody's pocket.
                -- Ambrose Bierce, "The Devil's Dictionary"

Reply via email to