fixed commands hint bugs and add ctrl-[ binding