On Friday, 19 July 2013 00:35:52 UTC+10, anilg  wrote:
> When double clicking a text file in the Mac Finder MacVim uses two flags 
> which force particular behaviour.
> The '-o' flag is supposed to open multiple files in separate windows.
> I don't want this behaviour as I prefer splits, but actual behaviour varies 
> for unknown reasons.
> 
> The '+/' initates a search on the last pattern used.
> This is consistent but again elicts unwanted behaviour.
> 
> $ ps aux | grep vim
> /Applications/MacVim.app/Contents/MacOS/MacVim -psn_0_3105526
> /Applications/MacVim.app/Contents/MacOS/Vim -g -f +/ -o 
> /Volumes/Data/Users/user/Desktop/test.txt

I've installed snapshot 70 and that seems to have done the trick. I've started 
a thread for a problem with my snapshot 70.

$ ps aux | grep vim
/Applications/MacVim.app/Contents/MacOS/Vim -g -f -o 
/Volumes/Data/Users/a.gulati/Desktop/email_signature.txt
/Applications/MacVim.app/Contents/MacOS/MacVim -psn_0_319566

The +/ flag has gone now which solves the issue.

I still don't understand the -o flag, apparently. man vim says it will "open a 
window per file", but if I select multiple files in Finder and open with MacVim 
I get splits, as I've specified in my Preferences, which is what I want, so no 
problem for me. I remember getting windows unpredictably sometimes in previous 
versions so if that comes up again I'll attempt to trace it down, otherwise no 
more complaints on this :-)

Thanks very much for your help. I'm confident to continue to run snapshots now, 
and notify bugs, if that helps.

-- 
-- 
You received this message from the "vim_mac" 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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_mac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to