3

I have seen CTRL@ being used in Insert Mode in a VimGolf challenge. In this scenario it inserts the text that was last typed and switches to Normal Mode.

However, I wonder if this is the real purpose of this binding or just a side effect, so I tried to find information on what it does but found nothing on :help or Google.

So, the question is: Where can I find documentation about CTRL@?

1
  • 1
    (point 8 in romainl's answer)
    – muru
    May 13, 2016 at 14:01

1 Answer 1

12

From :h i_CTRL-@:

CTRL-@ Insert previously inserted text and stop insert.

Also the mappings existing in insert mode are referenced in :h insert.txt

2
  • Oops, I've been searching :h C-@. I feel a bit ashamed now. Thanks! May 13, 2016 at 9:56
  • 2
    A lot of help topic begins with CTRL ;-)
    – statox
    May 13, 2016 at 9:58

Not the answer you're looking for? Browse other questions tagged or ask your own question.