Created
November 4, 2013 23:11
-
-
Save kcjpop/7310923 to your computer and use it in GitHub Desktop.
[vim] Delete all lines in a file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Move to the beginning of file | |
gg | |
-- Delete everything | |
dG |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Better and faster I suppose
:%d