Move the non-essential binding to the post/pre-command-hook where it is more obviously correct.
Attach a file by drag & drop or click to upload