Hot answers tagged

2

This might be obvious already, but if you change MacVim's preferences item "After last window closes:" to "Hide MacVim", then I think you'll get something close to the behavior you want: when you start mvim from the terminal, and then finish a file, focus will return to the Terminal as long as you don't have other MacVim windows open. At least, this gets me ...


2

I have solution, not a great one, but it works for fixing MacVim. brew uninstall macvim brew install macvim brew linkapps macvim Worked for me. Hopefully, the related question above will be the answer to my Perl version problem.


2

In my case it was good enough to comment out the fullscreen part of the extended.vim config file found under ~/.vim_runtime/vimrcs/extended.vim. Look for the if has("gui_macvim") in that file and comment out that entire block and you should be able to start MacVim in windows mode. Side note, I've also turned off the native fullscreen support for MacVim ...


2

Ah, lord, somebody in #vim on Freenode helped me out: that line going around is bugged, because ; doesn't mean subsequent-command in Vim. The following works as intended: mvim --remote-silent +":%line | silent foldo!" "%file"


1

The window size in MacVim is based on "number of lines and number of columns to be displayed"; if you change the font and font size, those lines and columns need less or more space and the window size is adjusted accordingly. You can specify the number or lines and columns MacVim will show with set lines=nn and set columns=mm in ~/.vimrc to get a starting ...


1

I was hitting this problem after upgrading to 10.11, and the accepted solution didn't work for me. I found that the problem was not with the updated MacVim install, but rather that the mvim script was finding an old MacVim binary I didn't even know I had rather than the freshly-updated one. So, if anyone hits this problem and the above fix doesn't work, ...


1

/etc/profile is not evaluated when you run sudo ... as far as I know and the problem with the symbolic link is the mvim script; if you look at it, it has these lines: # GUI mode, implies forking case "$name" in m*|g*|rm*|rg*) gui=true ;; esac Since you started it with sudo vi the name does not fullfil the criteria to launch in GUI mode. You could simply ...



Only top voted, non community-wiki answers of a minimum length are eligible