如何在vim里删除空行?

删除空行,进入底行模式

:g/^$/d

^代表首列

$代表尾列

d代表删除

g代表全局替换

原文地址:https://www.cnblogs.com/bull_think/p/5862861.html