evil-helix icon indicating copy to clipboard operation
evil-helix copied to clipboard

In visual line mode Shift r does not replace the whole line

Open dovahcrow opened this issue 3 months ago • 1 comments

Summary

In the video I typed shift-r at char f hoping the whole line is replaced but only f is replaced.

https://github.com/user-attachments/assets/b178f431-07c6-4241-9787-9b5eb0a85c74

Reproduction Steps

I tried this:

  1. hx

I expected this to happen:

Instead, this happened:

Helix log

~/.cache/helix/helix.log
please provide a copy of `~/.cache/helix/helix.log` here if possible, you may need to redact some of the lines

Platform

Linux

Terminal Emulator

alacritty

Installation Method

source

Helix Version

release-20250915

dovahcrow avatar Oct 05 '25 05:10 dovahcrow

Thank you for the issue! This relates to the Vim "replace mode", which isn't modeled in evil-helix yet, although it would be a great addition.

However, since the respective mode is also lacking in upstream (at least, according to https://github.com/helix-editor/helix/issues/5843 and https://github.com/helix-editor/helix/pull/14120), this change seems less trivial, at least for the time being.

usagi-flow avatar Oct 15 '25 15:10 usagi-flow