vim里对程序的自动排版功能

本意是找个能够把程序排版成标准式样的程序的
偶然发现vim居然就自带这个功能
于是就省心了
具体方法是这样的
在浏览模式下输入命令“1G=G
于是一下子就排好了

Discussion Area - Leave a Comment




*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word