Thursday Night

Paul Betts’s personal website / blog / what-have-you

A better Maximize button for Mac + Vim

I wrote about this before in a previous article, but this method has problems with Leopard and QuickSilver; its mechanism uses some clever-yet-not-maintainable methods to work. However, I finally tried Peter Maurer’s Witch, and it covers the same functionality, but with much less hacking.

To complete the fix for me, one of the things that I really miss full Maximize for is the Mac UI for Vim, MacVim. The developer decided that by default, hitting zoom does some sort of strange vertical-only maximize. To fix it, use the following command:

Update: You now have to capitalize MacVim in the command below. Thanks Alex!

defaults write org.vim.MacVim MMZoomBoth 1

Written by Paul Betts

May 24th, 2008 at 3:08 pm

Posted in Apple