Smarter hide-show keybindings.