From 5d7d4f96849a7e7b3761fed418e17a8f03e36198 Mon Sep 17 00:00:00 2001 From: Bjorn Winckler Date: Sat, 31 Oct 2009 14:14:36 +0100 Subject: [PATCH] Disable NSRepeatCountBinding --- src/MacVim/MMAppController.m | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/MacVim/MMAppController.m b/src/MacVim/MMAppController.m index 5b95482dfd..dd523aa947 100644 --- a/src/MacVim/MMAppController.m +++ b/src/MacVim/MMAppController.m @@ -181,6 +181,13 @@ fsEventCallback(ConstFSEventStreamRef streamRef, CFPreferencesSetAppValue(CFSTR("NSQuotedKeystrokeBinding"), CFSTR(""), kCFPreferencesCurrentApplication); + + // Also disable NSRepeatCountBinding -- it is not enabled by default, but + // it does not make much sense to support it since Vim has its own way of + // dealing with repeat counts. + CFPreferencesSetAppValue(CFSTR("NSRepeatCountBinding"), + CFSTR(""), + kCFPreferencesCurrentApplication); NSDictionary *dict = [NSDictionary dictionaryWithObjectsAndKeys: [NSNumber numberWithBool:NO], MMNoWindowKey,