"p" and "m" ain't that close on the keyboard

I often find myself having typed a wrong word when the first several letters are the first few letters of a more common word. I will have typed in the more common word. Example: that for than (or is it than for that?).