Revert "Remove unused history key bindings"

This reverts commit 71c938ded1d1eb46cef923616c07fd2020a71727.