---
title: "Discussion on \"Multiple file delete in VIM\" | Hashnode"
description: "Discussion on \"Multiple file delete in VIM\". To remove all content in a file using Vim, follow these quick methods:\n🚀 Method 1: Using Normal Mode\n\nPress Esc to ensure you're in Normal Mode.\n\nType this command:\n gg\n dG\n\n\ngg → Moves the cursor to the top of the file.\n\ndG → Deletes from the curre..."
url: "https://hashnode.com/posts/multiple-file-delete-in-vim/67a87c72b2e50a76ae6b6c45"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Multiple file delete in VIM](https://sarthakwrites.hashnode.dev/multiple-file-delete-in-vim?utm_source=hashnode&utm_medium=feed)

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...

Feb 9, 2025 · 1 min read · sarthakwrites.hashnode.dev  
Updated May 29, 2025  
Read the article

-   [#vi](https://hashnode.com/tag/vi)
-   [#delete](https://hashnode.com/tag/delete)
-   [#content](https://hashnode.com/tag/content)

## Written by

[Sarthak Tyagi](https://hashnode.com/@sarthaktyagi)

@sarthaktyagi

  
[View profile](https://hashnode.com/@sarthaktyagi)

fuck the world

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
