Original Reddit post

Hey! I don’t know if I am hallucinating but a while ago when using Claude code, there was a keyboard shortcut that I could press and copy the code or text in plain text from what Claude Code had produced in the terminal. It was CTRL+Q (even on Mac) but suddenly it disappeared and I didn’t think too much about it until recently when I had problems copying powershell commands from it to run on my VM. The struggle is that the terminal does not interpret a newline as a continuous line if Claude code had intended the text to be on one line, so based on the size of your terminal, if you copy text it will create a newline where your terminal’s width ends, which makes powershell commands break in the middle. It is the same when copying csv tables, ordinary text, you name it etc. It irritated me so much so I had to create it myself in Claude code to bring back the copy functionality. Unfortunately, it is not Ctrl+q but a bash command instead but it works very well! Even if Claude codes response contains multiple code/text, the functionality can let you copy any of them by writing !ccopy 1 or 2 or … So my question to you is if you had the same struggle and if it would be interesting for you to know how I solved this and if there is a demand for it (since it solved my problems with the copying in Claude code) Thank you! submitted by /u/Zestyclose_Pack_8493

Originally posted by u/Zestyclose_Pack_8493 on r/ClaudeCode