Loading ...
Sorry, an error occurred while loading the content.

RE: [vim] Piping command-mode results into the buffer

Expand Messages
  • Dave Rahardja
    ... Thank you! I used the :redir @{a-z} command instead to pipe the output into a register which I can then paste into the document. -dr
    Message 1 of 3 , Jan 29, 2003
    • 0 Attachment
      > From: Naveen Chandra [mailto:Naveen.Chandra@...]
      > Sent: Wednesday, January 29, 2003 7:28 AM
      > To: vim@...
      > Subject: Re: [vim] Piping command-mode results into the buffer
      >
      >
      >
      > > Is there a simple way to pipe the results of an
      > command-mode command into
      > > the current buffer?
      > >
      > > I'd like to execute a command (such as :au), and capture
      > its output in a
      > > text file.
      > >
      >
      > :redir > filename
      > :au
      > :redir END
      >
      > also see :help redir
      >
      > hth
      > -ncr
      > --
      > Calvin: There's never enough time to do all the nothing you want.
      > -- Calvin and Hobbes
      >
      > ---o0o---
      >
      > Naveen Chandra R
      > Validation Technologies Group, PNP,
      > Sun Microsystems,
      > Bangalore, India.
      >
      > Homepage: http://www.geocities.com/ncr_10/
      > Ph: 91-80-2298989, ext:27461
      >
      > ---o0o---

      Thank you! I used the :redir @{a-z} command instead to pipe the output into
      a register which I can then paste into the document.

      -dr
    Your message has been successfully submitted and would be delivered to recipients shortly.