我正在使用VIM
,我想格式化第二行和第三行。
我可以通过 :2,3left<number of spaces>
来完成
* @brief: Hello world
* Hello world hello world
* Hello world hello world
如何更容易地获得这样的东西?
* @brief: Hello world
* Hello world hello world
* Hello world hello world
最佳答案
试试这个 按 Esc+:然后按 v 然后按 Enter ,选择第二行和第三行,按 = https://www.cs.swarthmore.edu/help/vim/reformatting.html
关于linux - 如何在第一行设置第二行和第三行的格式?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34334293/