diff --git a/src/MacVim/MMAtsuiTextView.m b/src/MacVim/MMAtsuiTextView.m index c2eaa9c45f..cbc51eecc4 100644 --- a/src/MacVim/MMAtsuiTextView.m +++ b/src/MacVim/MMAtsuiTextView.m @@ -418,14 +418,6 @@ enum { if ([[NSApp mainMenu] performKeyEquivalent:event]) return YES; - // HACK! Give the default main menu a chance to handle the key down event. - // This is to ensure that the standard mappings (which are in the default - // main menu) are always available, also when the default Vim menus are - // used (these do not set any key equivalents!). - if ([[[MMAppController sharedInstance] defaultMainMenu] - performKeyEquivalent:event]) - return YES; - // HACK! On Leopard Ctrl-key events end up here instead of keyDown:. if (flags & NSControlKeyMask) { [self keyDown:event]; diff --git a/src/MacVim/MMTextView.m b/src/MacVim/MMTextView.m index c90bc23e50..2da9148349 100644 --- a/src/MacVim/MMTextView.m +++ b/src/MacVim/MMTextView.m @@ -652,14 +652,6 @@ enum { if ([[NSApp mainMenu] performKeyEquivalent:event]) return YES; - // HACK! Give the default main menu a chance to handle the key down event. - // This is to ensure that the standard mappings (which are in the default - // main menu) are always available, also when the default Vim menus are - // used (these do not set any key equivalents!). - if ([[[MMAppController sharedInstance] defaultMainMenu] - performKeyEquivalent:event]) - return YES; - // HACK! On Leopard Ctrl-key events end up here instead of keyDown:. if (flags & NSControlKeyMask) { [self keyDown:event];