Here is the first implementation of gg skip to the first line of the file and then execute: dG thus emptied the entire file! Another way to withdraw VIM, and then use the echo >> file, so they can quickly empty the contents of the documents, of course, you can also delete the file it wants to create a new one.
Empty vim
Guess you like
Origin www.cnblogs.com/kakaisgood/p/11388117.html
Ranking