Getting vim to work correctly on Mac can be pretty useful.touch ~/.vimrcThen open vim and do :set backspace=indent,eol,start