From 27933401afa8b62860d5e01047bdd1f843bf95af Mon Sep 17 00:00:00 2001 From: Bjorn Winckler Date: Mon, 29 Aug 2011 18:41:40 +0200 Subject: [PATCH] Restore hard-coded binding Binding in the sytem gvimrc caused problems with plugins, so restore the hard-coded binding instead. --- src/getchar.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/getchar.c b/src/getchar.c index 1641a350a9..3fb30c3f5e 100644 --- a/src/getchar.c +++ b/src/getchar.c @@ -5174,14 +5174,17 @@ static struct initmap # endif #endif -#if defined(MACOS) && !defined(FEAT_GUI_MACVIM) +#if defined(MACOS) +# if !defined(FEAT_GUI_MACVIM) /* Use the Standard MacOS binding. */ /* paste, copy and cut */ + /* (These are menu bindings in MacVim, so don't bind them here.) */ {(char_u *)" \"*P", NORMAL}, {(char_u *)" \"-d\"*P", VIS_SEL}, {(char_u *)" *", INSERT+CMDLINE}, {(char_u *)" \"*y", VIS_SEL}, {(char_u *)" \"*d", VIS_SEL}, +# endif {(char_u *)" \"-d", VIS_SEL}, #endif };