How to close a file by double-clicking in its tab — Control

Rename tab-double-click to rename
Delete tab-double-click altogether delete