Skip over magit line
Use delete-region instead of erase-buffer