kwutchak, I think that your changes obviate the point of the mvim script...
you might as well just do as Britt did: alias gvim='open -a MacVim' On Sat, Sep 26, 2009 at 3:30 AM, kwutchak <tr...@payne.name> wrote: > > > > Britt-3 wrote: >> >> I've solved the CLI+Screen+Copy/Paste issue, instead of using the >> complicated >> mvim script I simply aliased 'gvim' in my shell to 'open -a MacVim' >> and voila it >> worked. >> >> Britt >> > > I made a couple of changes to /usr/bin/mvi which seemed to make everything > work swimmingly for me. Swimmingly means: > > 1. Icon paste works > 2. Command V works > 3. mvi Personal/Configuration/Todo.txt opens Todo.txt > 4. Repeating #3 doesn't open another document window > > Here are my patches: > > ~ line 32: > > # binary="$VIM_APP_DIR/MacVim.app/Contents/MacOS/Vim" > binary="$VIM_APP_DIR/MacVim.app/Contents/MacOS/MacVim" > > ~ line 67: > > # exec "$binary" -g $opts ${1:+"$@"} > open -a "$binary" -g $opts ${1:+"$@"} > > I hope you get similar results... > -- > View this message in context: > http://www.nabble.com/Can%27t-paste-into-MacVim-windows-tp17270310p25624068.html > Sent from the Vim - Mac mailing list archive at Nabble.com. > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_mac" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---