vim: Add 'r' replace command

This replaces the character under the cursor with the modifier.
Unfortunately getting the cursor to be centered over the new character
(in all cases, especially at the end of a line) was rather convoluted.

https://bugzilla.gnome.org/show_bug.cgi?id=738419