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

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