In sublime text is there any way in to detect when a particular key binding is already assigned to some command and is then overwritten?
I just want to be able to detect such scenarios.
As a matter of fact, there's a plugin for that! skuroda's FindKeyConflicts
is just what you're looking for, and is also available through Package Control. It's incredibly helpful if you're a package developer, or just have a ton of plugins.
According to this article on official forum, you can enable logging of command execution:
sublime.log_commands(True)