helix icon indicating copy to clipboard operation
helix copied to clipboard

#5843: add overtype edit mode

Open noktoborus opened this issue 1 year ago • 2 comments

it is base implementation of overtype mode from https://github.com/helix-editor/helix/issues/5843

https://github.com/user-attachments/assets/b5cc4ccf-ca9f-470a-8f9f-544d03f81c7f

noktoborus avatar Jul 21 '24 21:07 noktoborus

now helix fails if I switch to overtype mode and type one symbol in empty scratch buffer:

thread 'main' panicked at C:\<...>\.cargo\registry\src\index.crates.io-6f17d22bba15001f\ropey-1.6.1\src\slice.rs:360:41:
called `Result::unwrap()` on an `Err` value: Char index out of bounds: char index 2, Rope/RopeSlice char length 1
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

noktoborus avatar Jul 30 '24 22:07 noktoborus

This feature is useful! Replace mode in vim rocks, one of the few times I have to jump from helix to vim to use Replace mode.

This merge request needs a review. Somebody please look at it.

haxfn avatar Aug 30 '24 13:08 haxfn

This seems like an essential feature.

mattkang avatar Dec 05 '24 15:12 mattkang

Sorry for bump, but what's the status on this? Was this pull request succeeded? I'd love to have this feature for ASCII art....

413x1nkp avatar Jul 28 '25 10:07 413x1nkp

I've lost interest to helix. The implementation of this feature is not expensive, and someone could take the changes from this PR and update it to a fresh master, or write new code and fix the problem described in https://github.com/helix-editor/helix/pull/11265#issuecomment-2259284312 (perhaps it has already been solved).

noktoborus avatar Jul 29 '25 13:07 noktoborus

dear github, please add the sob emoji react for this exact usecase.

Axlefublr avatar Jul 29 '25 13:07 Axlefublr