command line emacs style keys

1. command line emacs style keys binding
2. auto set working directory to current file