File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -247,6 +247,8 @@ Here is a list of relevant dictionary entries:
247247KEY VALUE ~
248248*MMCellWidthMultiplier* width of a normal glyph in em units [float]
249249*MMDialogsTrackPwd* open/save dialogs track the Vim pwd [bool]
250+ *MMDisableLaunchAnimation* disable launch animation when opening a new
251+ MacVim window [bool]
250252*MMFullScreenFadeTime* fade delay for non-native fullscreen [float]
251253*MMLoginShellArgument* login shell parameter [string]
252254*MMLoginShellCommand* which shell to use to launch Vim [string]
Original file line number Diff line number Diff line change @@ -4827,7 +4827,7 @@ E993 popup.txt /*E993*
48274827E994 eval.txt /*E994*
48284828E995 eval.txt /*E995*
48294829E996 eval.txt /*E996*
4830- E996 popup.txt /*E996 *
4830+ E997 popup.txt /*E997 *
48314831E999 repeat.txt /*E999*
48324832EX intro.txt /*EX*
48334833EXINIT starting.txt /*EXINIT*
@@ -4910,6 +4910,7 @@ M motion.txt /*M*
49104910MDI starting.txt /*MDI*
49114911MMCellWidthMultiplier gui_mac.txt /*MMCellWidthMultiplier*
49124912MMDialogsTrackPwd gui_mac.txt /*MMDialogsTrackPwd*
4913+ MMDisableLaunchAnimation gui_mac.txt /*MMDisableLaunchAnimation*
49134914MMFullScreenFadeTime gui_mac.txt /*MMFullScreenFadeTime*
49144915MMLoginShellArgument gui_mac.txt /*MMLoginShellArgument*
49154916MMLoginShellCommand gui_mac.txt /*MMLoginShellCommand*
@@ -8348,10 +8349,12 @@ popup-examples popup.txt /*popup-examples*
83488349popup-filter popup.txt /*popup-filter*
83498350popup-functions popup.txt /*popup-functions*
83508351popup-intro popup.txt /*popup-intro*
8352+ popup-mask popup.txt /*popup-mask*
83518353popup-menu gui.txt /*popup-menu*
83528354popup-menu-added version5.txt /*popup-menu-added*
83538355popup-position popup.txt /*popup-position*
83548356popup-props popup.txt /*popup-props*
8357+ popup-scrollbar popup.txt /*popup-scrollbar*
83558358popup-window popup.txt /*popup-window*
83568359popup.txt popup.txt /*popup.txt*
83578360popup_atcursor() popup.txt /*popup_atcursor()*
Original file line number Diff line number Diff line change @@ -224,8 +224,12 @@ - (id)initWithVimController:(MMVimController *)controller
224224 [win setCollectionBehavior: NSWindowCollectionBehaviorFullScreenPrimary];
225225
226226 // This makes windows animate when opened
227- if ([win respondsToSelector: @selector (setAnimationBehavior: )])
228- [win setAnimationBehavior: NSWindowAnimationBehaviorDocumentWindow];
227+ if ([win respondsToSelector: @selector (setAnimationBehavior: )]) {
228+ if (![[NSUserDefaults standardUserDefaults ]
229+ boolForKey: MMDisableLaunchAnimation]) {
230+ [win setAnimationBehavior: NSWindowAnimationBehaviorDocumentWindow];
231+ }
232+ }
229233#endif
230234
231235 [[NSNotificationCenter defaultCenter ]
Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ extern NSString *MMOpenInCurrentWindowKey;
3535extern NSString *MMNoFontSubstitutionKey;
3636extern NSString *MMNoTitleBarWindowKey;
3737extern NSString *MMTitlebarAppearsTransparentKey;
38+ extern NSString *MMDisableLaunchAnimation;
3839extern NSString *MMLoginShellKey;
3940extern NSString *MMUntitledWindowKey;
4041extern NSString *MMZoomBothKey;
Original file line number Diff line number Diff line change 3131NSString *MMNoFontSubstitutionKey = @" MMNoFontSubstitution" ;
3232NSString *MMNoTitleBarWindowKey = @" MMNoTitleBarWindow" ;
3333NSString *MMTitlebarAppearsTransparentKey = @" MMTitlebarAppearsTransparent" ;
34+ NSString *MMDisableLaunchAnimation = @" MMDisableLaunchAnimation" ;
3435NSString *MMLoginShellKey = @" MMLoginShell" ;
3536NSString *MMUntitledWindowKey = @" MMUntitledWindow" ;
3637NSString *MMZoomBothKey = @" MMZoomBoth" ;
You can’t perform that action at this time.
0 commit comments