can remember the last path and add key bindings.