mhinz/vim-galore

"Edit macros" map

desjardinsm opened this issue · 3 comments

I'm not sure if this is significant enough to consider, but:

In the map to edit your macros, if that macro contains a <c-r>, then when the expression register of the map is evaluated, the control-r gets replaced with the current contents of that register instead of being left as-is. I have an ugly solution with substitute() but I'm sure there's something better.

mhinz commented

Nicely spotted! Actually, Vim got us covered here: :h c_^R^R.

mhinz commented

Thanks for noticing!

/facepalm

I even knew about c_^R^R. I derped and didn't think about adding it here...