Ben wrote:
vim.  There's probably other (better) ways, but:

:!rm $filename
:n!

The first line tells vim to execute the shell command rm, you have to give it the filename, but that's displayed in the buffer anyway (or you can get it with ^G).

Try:

:!rm %

"%" in a shell escape gets replaced with the name of the current file.

--
Manuel A. McLure KE6TAW <[EMAIL PROTECTED]> <http://www.mclure.org>
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.                       -- H.P. Lovecraft
--
gentoo-user@gentoo.org mailing list

Reply via email to