Multiple file delete in VIM
To remove all content in a file using Vim, follow these quick methods:
๐ Method 1: Using Normal Mode
Press Esc to ensure you're in Normal Mode.
Type this command:
gg
dG
gg โ Moves the cursor to the top of the file.
dG โ Deletes from the curre...
sarthakwrites.hashnode.dev1 min read