554Re: command-line options for Carbon Vim
- Mar 19, 2002On Mon, 18 Mar 2002, Benji Fisher wrote:
> Can anyone think of a way to send a command-line option to Carbon vimWhat about this...
> 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.
% echo +100 foo.txt | xargs Vim
- << Previous post in topic Next post in topic >>