add M-b, M-f, M-h, M-d, fixed C-c can't copy bug.

the patch seems very ugly, but adding these feature can refer to my code.