What Does CTRL+Space Do in Vim? -
I have been looking for some time, but I can not find any documents on this key-order. Just playing around, it seems that CTRL + space contains the text that was written in the previous insert mode session.
However, is anything more subtle going on? What does this key-order actually do in vanilla vim?
& lt; Sea-Space & gt;
does not do anything in any way by default. : Verbose Map & lt; C-space & gt; Try looking at
to see if it has been mapped to do so.
Edit
I've forgotten anyway:
When you & lt; C-Space & gt;
, the terminal sends an ambiguous signal to Vim, which it calls & lt; Nul & gt; / Code>. Because
& lt; Nul & gt;
Typically & lt; C - @ & gt;
, acts as a vim, as if you were actually pressed & lt; C - @ & gt;
and attempts to insert the previously entered text.
Note that this problem is not present in GVim / MacVim.
Comments
Post a Comment