How to insert spaces up to column X to line up things in columns?

前端 未结 7 2067
鱼传尺愫
鱼传尺愫 2020-12-04 09:45

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

7条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-04 10:20

    A quick, simple way to proceed is to add X spaces and then delete back to column X. For example, if X=40, type

    40ad40|
    

提交回复
热议问题