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

Re: How to extrat a vba file?

Expand Messages
  • Benjamin R. Haskell
    ... That s a command to run from a shell, not a command to run within vim. vim myvimball.vba ... What ak said. ... -- Best, Ben -- You received this message
    Message 1 of 3 , Aug 5, 2010
      On Thu, 5 Aug 2010, AK wrote:

      > On 08/05/2010 01:58 PM, Jeri Raye wrote:
      > > Hi
      > >
      > > One of the vim scripts is stored as a vba file
      > > See for example http://www.vim.org/scripts/script.php?script_id=1643
      > >
      > > How to un-vba such a file?
      > > It says :vim myvimball.vba
      > > But when I do that in gVim it gives some kind of file error.

      That's a command to run from a shell, not a command to run within vim.

      vim myvimball.vba

      :vim is an alias for :vimgrep. So, yes, you'd get an error.


      > > I'm on Windows XP
      > >
      > > Rgds.
      > > Keri
      > >
      >
      > I thought it's edit that file and then do
      >
      > :so %

      What ak said.

      If you already have gVim open:

      :e myvimball.vba
      :so %

      --
      Best,
      Ben

      --
      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
    Your message has been successfully submitted and would be delivered to recipients shortly.