On 7 October 2010 14:41, Axel <[email protected]> wrote: > > in MacVim I encountered some (for me) annoying mappings whose origin I > cannot locate: > > v <BS> "-d > v <D-x> "*d > v <D-c> "*y > v <D-v> "-d"*p > > These mapping do not come from any configuration file > (KeyBindings.plist, RCs, or org.vim.MacVim), and do not appear in vim. > > Where do these mappings come from (grepping through /Application/ > MacVim didn't yield any results either).
The mapping to BS I _think_ is hardcoded but you should be able to just remap to whatever you want with a "vmap" command (?). The Cmd-key bindings are menu bindings and as such are set up in $VIMRUNTIME/menu.vim. This is explained under ":h macvim-menus". Here's how you can "unmap" these menu items (must go in ~/.gvimrc): macmenu Edit.Cut key=<nop> macmenu Edit.Copy key=<nop> macmenu Edit.Paste key=<nop> Björn -- You received this message from the "vim_mac" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
