remove trailing whitespaces
override up/down/left/right key binding to non-recursive

- as it will conflict with quick typing for switch pane and then
  retrieve command line history