macvim icon indicating copy to clipboard operation
macvim copied to clipboard

MacVim updates broke command-e mappings

Open AndrewRayCode opened this issue 6 years ago • 1 comments

How to reproduce

vim -u NONE

:map <D-e> :

Now press command-e.

Nothing happens, except the "Edit" Mac menu flashes as it's activated.

There's now no way to map command-e in MacVim. This used to work.

AndrewRayCode avatar Dec 08 '18 19:12 AndrewRayCode

This will be fixed in a later update when I fix misc menu issues. Basically the default Cmd-E (search text in selection and share to find pasteboard) is supposed to only take over when in visual mode like before, but right now it is overriding default key bindings even in normal or other modes.

For now, use the following in your gvimrc (not vimrc) to unmap the default <D-e> mapping:

macm Edit.Find.Use\ Selection\ for\ Find key=<nop>

This should let you map your own <D-e>

ychin avatar Dec 12 '18 11:12 ychin