MacVim without Distraction
I really like editors running in full screen. So that they take up 100% of the available screen space. Not because I want to see more code, but because I don't want to see anything else that could distract me. With Spaces in OS X Leopard and MacVim I finally found a neat way that matches my workflow.
Here my three step plan for full satisfaction:
- Configure spaces so that MacVim always starts on the same space that is otherwise unused
- Put this into your
~/.vimrc:if has("gui_running") set fuoptions=maxvert,maxhorz au GUIEnter * set fullscreen endif
- Quit and restart your MacVim :)
Now every time you start your MacVim it will skip to the configured space and display itself in fullscreen mode.
Note that you can also hit ⌘⇧F to toggle between fullscreen and normal mode.
— Anon on Saturday, January 10, 2009 17:31 #