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

554Re: command-line options for Carbon Vim

Expand Messages
  • Erlend Aasland
    Mar 19, 2002
    • 0 Attachment
      On Mon, 18 Mar 2002, Benji Fisher wrote:

      > Can anyone think of a way to send a command-line option to Carbon vim
      > on Mac OS X? For example, the analogue of
      >
      > % gvim +100 foo.txt
      >
      > to open foo.txt and start at line 100. I can start vim with
      >
      > % open -a Vim foo.txt
      >
      > but I cannot figure out how to pass options as well as a file name. Hmm..
      > .
      >
      > % tcsh -c '/Applications/vim/Vim.app/Contents/MacOS/Vim -g +100 foo.txt &'
      >
      > almost works, but Terminal remains the active application.

      What about this...
      % echo +100 foo.txt | xargs Vim


      Erlend Aasland
    • Show all 6 messages in this topic