Use a shared data structure for key bindings.
Create a key binding for up a directory.