3 ms·
But then you can't copy a target and it's steps in one go. And the pasted code will only have a single space for indentation, if I'm understanding right. Plus
by spicybright 4y ago
But then you can't copy a target and it's steps in one go. And the pasted code will only have a single space for indentation, if I'm understanding right.
Plus without word wrap you can't copy more than a screen width at a time on most terms.
- dllthomas 4y ago> But then you can't copy a target and it's steps in one go. The parent said they wanted to paste it into the shell to run it. In that case, you aren't going to want to copy the target, only the steps. It will have a single space indentation if you start there, or no indentation if you start one character over; either could be what you want, depending on your shell settings and whether you want the commands in your history. If you want to copy and paste the target and all of its steps in one go, you need to ask yourself where you want to paste it, but probably including the > and copying normally is the right thing, to be reformatted on the other side as desired. In fact, I expect that to break a little less often than pasting things with leading tabs. > Plus without word wrap you can't copy more than a screen width at a time on most terms. Yeah, I was imprecise; "doesn't work if your lines wrap" should probably have been "doesn't work if your lines are long enough that they would need to wrap".