Try adding a '^M
' at the end of your macro, then "@c
" should work. Else ':@c
' should work as mentioned by ebenezer. You should use Ctrl+VEnter to insert '^M
'.
let @c=':r c.c^M'
Best way would be to record the macro first and then save it to the .vimrc
.
If these doesn't work, you can check the content of your register c
using "cp
and see if there is something missing.