How do I map ctrl x ctrl o to ctrl space in terminal vim?

plitter picture plitter · Oct 11, 2011 · Viewed 20.7k times · Source

After searching a bit on the net it seems that I can't map CtrlSpace to anything/alot. Is there a way to do it today, what I found was usually 2 years old.

Answer

Pablo Olmos de Aguilera C. picture Pablo Olmos de Aguilera C. · Sep 10, 2012

I've run into the same issue, the short answer is yes you can, and not only in the gui version. Adding this on you .vimrc is enough:

inoremap <C-Space> <C-x><C-o>
inoremap <C-@> <C-Space>