Is there a shortcut to delete the currently open file in PHPStorm?

External tools can solve this.

  1. Create an external tool. The program to run is rm, and for the parameters use the $FilePath$ macro. I also tell it not to open the console.

Delete file - External Tool

  1. Add a shortcut in keymap to this external tool to quickly delete the current file open in the editor.

Yes, there is:

  1. Press Alt+Home to focus the navigation bar. (⌘+↑ on Mac)

    enter image description here

  2. Then press Delete. (⌘+⌫ on Mac)

    enter image description here

Even if the navigation bar is turned off, it'll pop up over the editor window.