Pass arguments to Vim on command line
commitba5c156cfd2a679d4909c1fe8354c3cdaccfebb1
authorBjorn Winckler <bjorn.winckler@gmail.com>
Mon, 15 Feb 2010 20:43:08 +0000 (15 21:43 +0100)
committerBjorn Winckler <bjorn.winckler@gmail.com>
Tue, 16 Feb 2010 18:10:09 +0000 (16 19:10 +0100)
treee58e19cf5b488e35cac2ffb0bc98dc09f55afeb2
parent10ff4c8d6f1dcdf7a9450c1bf2cacc4a48199052
Pass arguments to Vim on command line

Do not pass arguments via DO since some options only work if the files
to open were passed on the command line (e.g. "%" flag in 'viminfo').
Also, if a file is encrypted and opened from Spotlight the Spotlight
search text is passed as input and it ends up being used as password for
the encryption key, so the file opens up encrypted.

The above problems still persist if Quickstart is enabled.
src/MacVim/MMAppController.m