elves/elvish

Add a way to disable indentation of multi-line commands

occivink opened this issue · 1 comments

What new feature should Elvish have?

The editor currently indents multi-line such that they're all aligned with the end of the prompt, like this:

~ my-nice-prompt > some-really-long-com
                   mand --with-long-arg
                   uments --which-cause
                   -wrapping

This is visually pleasing, but makes it inconvenient to copy-paste the command (or parts of it) since a lot of whitespace will be introduced. It would be nice to have an option to enable/disable this behavior, as in my opinion the indentation is not worth the copying troubles.

For info, other shells don't seem to do this kind of indentation.

Output of "elvish -version"

0.20.0-dev.0.20230826021805-1c0cffbfed89

Code of Conduct