Tweak history parsing and vim's idea of word boundaries