I have my source code for copy operators written as follows.
foo = rhs.foo;
foobar = rhs.foobar;
bar = rhs.bar;
toto = rhs.toto;
I\'d like
There is a nice plugin which does exactly that and more, called Align.vim
For you case, you would need to select your expression and then type :Align =. It will align everything, using = as a separator and reference.
(There is a lots of options to align, left, right, cyclically, etc)
You can also check Tabular.vim which provides similar features. See the screencast there for a demo.