Fix so that home and end keys work in Vim.