I'm trying to map <c-y>, (from zencoding-vim) to <c-m>. I tried:map <C-m> <C-y>,map <C-m> <C-y>,<cr>But doesn't seems to be working. Maybe it's something with the comma?
VIM map not working
vim;vimrc
It's not the comma, it's ctrlm which is the terminal control sequence forreturn and the same as pressing the return key. Try typing ls in yourterminal and press ctrlm. You'll run into the same problem trying to mapctrlh, which is the terminal control sequence for backspace.This is not a Vim issue since Vim can't distinguish between ctrlmandreturn` key presses.