I want to map Ctrl-M to go to the last autocompletion word. Currently, Ctrl-P does this. In my .vimrc:inoremap <c-m> <c-p>And this adds the functionality I want.However, if I'm in insert mode and hit Enter, this also triggers the autocompletion.Happens in both macVim and CLI vim.
Remap last autocompletion word
key bindings