Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a way to disable indentation of multi-line commands #1834

Open
1 task done
occivink opened this issue Aug 28, 2024 · 0 comments
Open
1 task done

Add a way to disable indentation of multi-line commands #1834

occivink opened this issue Aug 28, 2024 · 0 comments

Comments

@occivink
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant