In my computation I often use the command
ClearAll["Global*"] to eliminate all the variables I have defined so far. But to input stroke by stroke is burdensome when you need to execute it so often. As a result, I am seeking to define a shortcut key which enables me to execute this command efficiently. It would be better if it can be incorporated into the init files.
Does anyone know how to do this?