Does anyone know if it is possible to bind Control + Enter to a function in the console version of vim?
It's <C-M> for me, but to figure it out for your terminal, at a prompt (outside of vim) type Ctrl-V then Ctrl-Enter, and it will show you how it is read. It will display a ^? where the ? is a capital letter, translate that into the vimrc as <C-?>.
Last edited by Trilby (2013-06-14 03:17:15)
Thanks for the suggestion. So when I try this in Xterm I get the same result as you and mapping to <C-M> works fine.
In terminator, however, the result is the null character, ^@, but mapping to "C-@" does not work.