Replace must respect line endings

The replace command (`r` in normal mode) was not respecting line endings
when inserting a `<Enter>` key.  Switched the command to use the
appropriate API