Unfortunately I don't see the pattern here, but dw does not always work on the last word in a line.
Here's a gif with me moving around and trying to dw a bunch of times:
Stuff like the test in imdb-final-test and the numbers after the decimals, and branch can't be deleted by dw. But for some reason, Outline in the last line can be deleted. None of the lines have additional whitespace at the end. DATA: can be deleted with the colon, but deleting just the colon doesn't work (vanilla vim behavior would be to delete the : if the cursor is on it.
D to delete to the end of the line works fine in all cases, however.
Unfortunately I don't see the pattern here, but
dw
does not always work on the last word in a line.Here's a gif with me moving around and trying to
dw
a bunch of times:Stuff like the
test
inimdb-final-test
and the numbers after the decimals, andbranch
can't be deleted by dw. But for some reason,Outline
in the last line can be deleted. None of the lines have additional whitespace at the end.DATA:
can be deleted with the colon, but deleting just the colon doesn't work (vanilla vim behavior would be to delete the:
if the cursor is on it.D
to delete to the end of the line works fine in all cases, however.