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 };