I'm inside a terminal.app with about 20 lines of commands and it's output
$ previous command previous command output $ git branch develop master * you/236-add-more-test $ previous command $ previous command output $ git checkout <cursor is here now>
I started typing a command ("git checkout "), Without resorting to the mouse, how can I copy an arbitrary piece of text (in this case I want to copy "you/236-add-more-test" and paste it at the cursor/prompt.
Why not use mouse you ask? the mouse "breaks my flow"
Update: Thanks for the comment klanomath. The fact that I want might want to copy some of its output is not known at the time of issuing the command. So your answer was not what I was looking for. I also don't want to reissue the command just for the purpose of extracting it's output.
Update2: What I tried
Searched google for terminal.app plugins