Modify the escape and ctrl+left/right function

For convenience to get pointset