在Vim里面,是否有一个格式化命令可以对齐一行末尾的注释?
原文链接:https://www.f2er.com/bash/383596.html例如在C中,它会改变:
m_varName1; // Comment 1 m_varName1AndABit; // Command 1 and a bit m_varName2; // Comment 2 m_varName3ButReally2AndABit; // Comment 3 (but really 2 and a bit)
进入:
m_varName1; // Comment 1 m_varName1AndABit; // Command 1 and a bit m_varName2; // Comment 2 m_varName3ButReally2AndABit; // Comment 3 (but really 2 and a bit)
谢谢!