mostly ace-jump and move-beginning-of-line function