Monday, September 10, 2012

Re: cal in a doc

On Monday, September 10, 2012 2:45:48 AM UTC+1, Tim Chase wrote:
> On 09/09/12 20:43, Bee wrote:
>
> > cal in a doc
>
> > From within terminal vim I can issue the command:
>
> > !cal
>
> > and it will display the current month.
>
> > How can I get it placed in the current document?
>
>
>
>
>
> :r! cal
>
>
>
> which you can read about at
>
>
>
> :help :r!
>
>
>
> -tim

Interesting - I've always used "!!" (possibly that's from classic vi), as in

!!cal

which I see Vim translates into

:.!cal

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: