Hacking without distractions

I am getting really fond of running MacVim in fullscreen mode. It removes all the distractions and uses all the available space.

To toggle the fullscreen mode simply press ⌘⇧F.

If you want to start in fullscreen mode add this to your vimrc:

if has("gui_running")
  set fuoptions=maxvert,maxhorz
  au GUIEnter * set fullscreen
endif

Hat tip off to Armin.

Code · Tips · VIM Editor 7. Mar 2009
© Amir Salihefendic. Powered by Skeletonz.