The boolean user default MMNativeFullScreen can be used to control whether to use native or custom full-screen. Set to 0 for custom, set to 1 for native full-screen, for example $ defaults write org.vim.MacVim MMNativeFullScreen 0 The default is to use native full-screen when available. This user default does nothing on pre-Lion Mac OS X. Also conditionally call Lion APIs so that it is possible to compile with 10.7 SDK but still support 10.6 (nb. 10.5 and earlier SDKs are not supported as of Xcode 4). (Suggestion and initial patch by @splhack.)
Vim does not cope very well with Unicode decomposed form NFD (i.e. it does not normalize to composed form before rendering) which causes problems since HFS+ stores filenames in NFD. To work around this issue normalize to compatibility form C before passing filenames to Vim. (This is not a solution to the problem with NFD since files stored in NFD will still be problematic but at least a user can work around this issue by making sure files are in composed form before opening them.)
When enabled the default font is loaded from within the app bundle each time MacVim is started (the default setting). Startup times are shorter if this is disabled. Note that if the default font has already been installed on the system then this may as well be disabled.
Adds possibility to make the left Ctrl, Alt, or Cmd key function as a second Esc key. The key will still function as a modifier if held down in conjunction with another key. Enable by setting the user default "MMFakeEscModifier" to: 1 = Left Ctrl 2 = Left Alt 3 = Left Cmd any other number disables this functionality By remapping Caps-Lock to one of the above modifier keys this enables the use of Caps-Lock as a second (and easy to reach) Esc key. Caps-Lock can be remapped inside "System Preferences -> Keyboard & Mouse -> Modifier Keys...". The Esc event is sent when the modifier key is released. If the key is not released within a predefined timeout, then no Esc event is generated. The timeout can be changed by setting the user default MMFakeEscTimeout (a float, specifying the timeout in seconds). The fact that the Esc event is sent on release makes it feel somewhat sluggish. It is possible to have the event sent when the modifier key is pressed by setting the user default "MMFakeEscOnKeyDown" but then the left modifier key can only be used as an Esc key.
The preferences panel allow for more ways to open files from other applications. This is controlled by three user preferences: - MMOpenInCurrentWindow - MMOpenLayout - MMVerticalSplit These options are also respected when dropping files on a window. The quickstart feature is currently disabled by default and can be enabled by setting the user default MMPreloadCacheSize to a positive integer. With it enabled, new windows open more or less instantaneously.
The files Miscellaneous.[m|h] should be used for code common to the frontend only (code shared with backend belongs in MacVim.[h|m]). Some code has been moved from MacVim.[h|m] and some from other frontend source files. Some code from the previous commit has also been restructured.