Fix vim move to word multinewline

There was a bug in moveToWord.

Example text:
```
word1

word2
```
In vim if the cursor is at line 0 column 0 and w is pressed, the expected behavior
is that the cursor will move to line 1 column 0.  In codemirror the
cursor was moving to line 2 column 0.