不是 的dup,因为我的具体意思是使用重新格式化功能。
我曾经用80个字符的textwidth在vim中写胶乳。然而,我现在切换到了一个无限的textwidth,所以我的行将永远继续下去。
Vim的重新格式化(例如gqap),将几行合并成一个段落,将它们包装成80个字符。我想把它们组合成一行。
即
Without a \clang{goto} statement in the HIR, we must instead use conditional
statements to check the iteration number.应该重新格式化为
Without a \clang{goto} statement in the HIR, we must instead use conditional statements to check the iteration number.当它被高亮显示并按下gq时。
发布于 2009-09-20 15:48:26
如果你不喜欢depesz建议的"J“,那就去做
:set tw=9999那就做gq吧。根据你的需要调整调整。
发布于 2009-09-20 12:46:41
你为什么不选好行后的"J“呢?
https://stackoverflow.com/questions/1450904
复制相似问题