[vim keymap] Fix to moveTillCharacter

Return null from moveTillCharacter if nothing is found, so that if a
deletion operation is active but no match was found, nothing gets
deleted. Add a unit test for moveTillCharacter.