helix icon indicating copy to clipboard operation
helix copied to clipboard

`r<ret>` does not indent properly

Open emilyyyylime opened this issue 3 years ago • 2 comments

I find myself using c<ret><esc> instead, but I think it would make sense for the current behaviour to be changed

emilyyyylime avatar Nov 06 '22 02:11 emilyyyylime

This is the expected behavior: r is a naive replace with no extra effects. For example it also does not insert auto-paris when you use r(

the-mikedavis avatar Nov 06 '22 14:11 the-mikedavis

@the-mikedavis Sorry, I worded my original title in a weird way; I know this is the expected behaviour currently, I meant this as a suggestion for change in the behaviour

emilyyyylime avatar Nov 07 '22 08:11 emilyyyylime

I think it should stay this way. I purposefully use r if I don't want autoindent. Autoindent really.only seems useful while.inserting text (it's an entirely insert mode concept.since trailing indents get stripped when exiting insertmode)

pascalkuthe avatar Apr 04 '24 01:04 pascalkuthe