The inner and outer word text objects in vim behave differently when combined with a count. Given the text (cursor is within the word
first second third fourth
y2iw will put the first word in the register,
y4iw the first two word etc. So I need at least
y7iw to yank all four (inner) words. For outer words, the count given corresponds with the number of words yanked.
Why do two
iw objects correspond to a single word in this case, and can I get
iw to behave similar to