Changing whole-line selection should keep original indentation #8124
Labels
A-indent
Area: Indentation
A-language-support
Area: Support for programming/text languages
C-bug
Category: This is a bug
#7316 being merged is a great improvement, I think it was definitely the right choice! It's way more ergonomic most of the time.
There's one thing that consistently bothers me with it though, which is that it indents to the line below the one that you're editing. I'm frequently changing things at the bottom of a block of indentation, which means I need to indent every time I type
xc
.An example of this behavior (
|
is the cursor)Then after
xc
What I think the correct behavior should be:
The solution (I think) is to use the line's original leading whitespace instead of doing what
xcO
would have done before.The text was updated successfully, but these errors were encountered: