map C-a to smart-beggining-of-line and [end] to the expected behaviour (on mac)