« Going Further | Main | Can You Hear the Silence »

Simplest Delete All

Using "dG" in vim.

= Such a beautiful command. So elegant, just three keystrokes, and waiting for when ever you may need it. Otherwise, you would never be aware of it.

There are few applications, where you can erase all text, with so little effort. True, it isn't for casual use. However, when you need it. Just works.

= Now, yes, any Windows app you Select All, and Cut. or Ctrl-A, Del; if supported? However, GUI apps often don't "truly erase everything," and MS Word does not prefer handling pure ASCII text. Plus, you usually have to check what if? Did it get it all? vim just does it, end of story.

vim and XEmacs are free for Windows & Linux, anyhow. Why bother?

Glen

PS. Yes, you have to be at the start of the file. After you learn vim, it makes perfect sense.

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

About

This page contains a single entry from the blog posted on September 28, 2007 10:00 PM.

The previous post in this blog was Going Further.

The next post in this blog is Can You Hear the Silence.

Many more can be found on the main index page or by looking through the archives.

Creative Commons License
This weblog is licensed under a Creative Commons License.
Powered by
Movable Type 3.34