When I enter insert mode and type <C-SPACE>
, vim inserts the last inserted text, then exits insert mode. My guess is it's using the ".
register.
<C-V><C-SPACE>
prints a null character. However when I enter the command :imap
, it doesn't list any mappings. I was expecting there to be a mapping for the null character.
Can someone explain this behavior?
<C-Space>
just puts a space for me even with<C-v>
. Does it do this when starting vim withvim -u NONE
?<space>
to your leader? See the output of:imap <c-space>
to find out if it is mapped to something. See also this question