Improve Helix insert (#34765)

Closes #34763 

Release Notes:

- Improved insert in `helix_mode` when a selection exists to better
match helix's behavior: collapse selection to avoid replacing it
- Improved append (`insert_after`) to better match helix's behavior:
move cursor to end of selection if it exists
a6956eebcbPablo Ramón Guevara committed on 7/24/2025, 5:27:07 AM· committed by GitHubparent8b0ec28
2 files changedLine totals unavailable