marijnh/CodeMirror — pull request #1048 by mightyguava (2012-12-04 03:55:00+00:00)
Title: [vim keymap] Fix operations/actions on last character of the line

@siefkenj The addition of clipCursorToContent broke character operations at the end of line, like a,x,s,d/y/c l because motions would no longer advance the cursor past the last character on a line, and operators would refuse to include it.

The fix moves the clipCursorToContent call into evalInput, after the motion is executed.

Added tests to prevent future regression. Almost at 100 mark for number of vim tests :)