[vim] Fix for ~ movement

Fix for https://github.com/marijnh/CodeMirror/issues/1685.

~ will now move the cursor forward. @misterbeegee let me know if the fix suffices.