I am running nVim v 0.10.1 on archlinux. Everything is up to date.
I am running this macro as defined in .vimrc
:
let @k = '\z:call CZC()'
But a carridge return is necesary to make this run, when I key @k
so it becomes
let @k = '\z:call CZC()^M'
This works but ^M executes two carridge returns
- one run's the call function, and
- one inserts a carridge return into my currently being edited text as a new line.
I only want one carridge return, that will execute @k
not two.
How can I add the carridge return at the end of the macro, to run the macro, without adding a new line to my text?