Closed corbob closed 2 years ago
I was having the same thought about copying multiple commands. I'm still working on the next module release and plan on adding this functionality to the command.
This is fixed in v2.41.0
The latest version doesn't accept pipeline input, but you could easily run a command like copy-historycommand (10..15)
The latest version doesn't accept pipeline input, but you could easily run a command like
copy-historycommand (10..15)
This is true. It actually makes it easier for my use because my keyboard makes it super easy to insert ()
compared to |
👍
Is your feature request related to a problem? Please describe. I love the idea of this function, but I find myself often wanting to copy a series of commands.
Describe the solution you'd like I would like to be able to issue a command like
10..15 | ch
and have the clipboard contain the contents of all of these commands.Describe alternatives you've considered
I have a snippet like this that I use today:
10..15 | h | % commandline | scb
Additional context I did some playing around to prove out the concept, and I think it can be done with minor(ish) changes. The code that I have working is:
Obviously the use of an array is problematic from a performance perspective, but for a quick and dirty proof of concept it works fairly well.