add emac key to move curser even at editing mode

cmd+f: Move one character forward
cmd+b: Move one character back
cmd+a: Move to beginning of line
cmd+e: Move to end of line
cmd+p: Move to previous line
cmd+n: Move to next line