Skip to content

Instantly share code, notes, and snippets.

View fabi1cazenave's full-sized avatar

Fabien Cazenave fabi1cazenave

View GitHub Profile
@fabi1cazenave
fabi1cazenave / asymetric-MacVim-meta.diff
Created November 7, 2010 21:41
asymetric Meta keys with MacVim
diff --git a/src/MacVim/MMTextViewHelper.m b/src/MacVim/MMTextViewHelper.m
index 4d10432..42f311b 100644
--- a/src/MacVim/MMTextViewHelper.m
+++ b/src/MacVim/MMTextViewHelper.m
@@ -22,6 +22,9 @@
#import "MMWindowController.h"
#import "Miscellaneous.h"
+// asymetric meta keys
+#define NSLeftAlternateKeyMask (0x000020 | NSAlternateKeyMask)