Dear all,

If I have the following in my rc:

set editor="one -arg1 -arg2"
set my_var=$editor
macro index w "<enter-command>set my_var2=$editor<enter>" "test"

When I do
:set my_var
it correctly prints out "one -arg1 -arg2".
However if I press 'w' and then
:set my_var2
it does not seem to work.

How can I be careful to copy variables respecting that one might have a space?

Kind regards,

Xu

Reply via email to