Adds a "DeleteCurrentFile: Delete File" command which deletes the current file and closes the current buffer.
Switch branches/tags
Clone or download
yaworsw Merge pull request #7 from mpvharmelen/patch-1
Fix settings not opening
Latest commit bfecf45 Jul 11, 2018

README.md

Sublime-DeleteCurrentFile

This plugin adds a command (DeleteCurrentFile: Delete File) to the command palette which will delete the current file and close the buffer.

With the plugin's settings you may customize if you want to see a confirmation message, or if you want to send the deleted file to the trash or the unrecoverable void.

By default there is no confirmation message and the file is moved to the trash.