Fix backspace/delete problems

http://vim.wikia.com/wiki/Backspace_and_delete_problems