In MacVim, the
Command key has default menu bindings (e.g.
<D-o> is mapped to Open File).
Sadly, these mappings cannot be overwritten directly through
Here is the trick to unmap the unwanted
<D-> bindings. Put the snippet in
Additionally, to enable
<M-> key mappings on MacVim (in
View my Vim settings.