diff --git a/src/MacVim/MMTextView.m b/src/MacVim/MMTextView.m index e48bb6659b..2c690e70f5 100644 --- a/src/MacVim/MMTextView.m +++ b/src/MacVim/MMTextView.m @@ -302,6 +302,13 @@ static NSString *MMKeypadEnterString = @"KA"; if ([event keyCode] == 50) return NO; + // HACK! On Leopard Ctrl-key events end up here instead of keyDown:. + if (flags & NSControlKeyMask) { + NSLog(@"pass on control key"); + [self dispatchKeyEvent:event]; + return YES; + } + //NSLog(@"%s%@", _cmd, event); NSString *chars = [event characters];