vim/helix: Use grapheme count on replace (#51776)

Update vim and helix replace to repeat based on grapheme count instead of
byte length or Unicode scalar count.

This fixes cases where a single visible character is made up of multiple
bytes or scalars, such as decomposed characters like `e\u{301}` and emoji.

Closes #51772 

Release Notes:

- Fixed vim/helix's replace action to take into consideration grapheme
count

---------

Co-authored-by: dino <dinojoaocosta@gmail.com>
3684b5a42fFinn Eitreim committed on 3/25/2026, 11:19:55 PM· committed by GitHubparentce0848a
5 files changedLine totals unavailable