How to move an opened file to trash?
The shortest way: Right-click the file icon in the title bar of the document window. It will display a drop-down menu of the file's location path. When you choose the folder icon that is directly under the file icon, a Finder window will open with the file already selected (highlighted), and you can directly press ⌘⌫ to trash it.