I'm having some trouble mapping my apple key in vim. I know that 'D' is the mapping symbol for the command button, but it doesn't work!
I've tried with: map! <D-s> <Esc>:w<Enter>开发者_如何学C;
, but it doesn't work!! I'm getting real frustrated - does anyone know why it's not working?
It works with map! <F2> <Esc>:w<Enter>
I am using the terminal version: Vi IMproved 7.2 on Snow Leopard
MacVim version can map the command key. I do not believe any other version can (including the terminal version bundled by default with OS X).
I am not sure that you can map this key in the terminal version; can you try with gvim?
精彩评论