Packages should be able to register keyboard shortcuts. The most needed package is one for the input history.