常用vi命令/操作

格式化代码

  • gg=G 格式化全部代码(普通模式)
  • g/^$/d 删除空行(命令模式)

Published: November 15 2014

blog comments powered by Disqus