zed icon indicating copy to clipboard operation
zed copied to clipboard

terminal: support shift + click to select text

Open kzhui125 opened this issue 1 year ago • 4 comments
trafficstars

Check for existing issues

  • [X] Completed

Describe the feature

terminal: support shift + click to select text

If applicable, add mockups / screenshots to help present your vision of the feature

No response

kzhui125 avatar Mar 23 '24 15:03 kzhui125

Can you clarify what you mean by this? holding shift does not seem to interact with selecting text in the terminal currently. You can click & drag to select, and you can double click to select a word -- holding shift does not affect this.

Do you mean the existing selection should be extended when clicking while holding shift down? Or something else?

jansol avatar Mar 25 '24 11:03 jansol

for example,for text “hello world”, first click character h, then shift + click character d

VSCode support it.

kzhui125 avatar Mar 25 '24 12:03 kzhui125

For large count lines text in terminal, it’s hard to copy now in Zed.

For example, in VSCode, I can click line 1, then shift + click line 100 to copy 100 lines.

click & drag is hard to copy 100lines accurately.

kzhui125 avatar Mar 25 '24 12:03 kzhui125

I can agree, this is incredibly annoying. Even when selecting a small number of lines, if the window itself is small, it starts scrolling at incredible speeds.

TarekAS avatar Aug 20 '24 17:08 TarekAS

I use this a lot: click to set the start point, scroll to find the end, shift-click to set the end of the highlight, and Zed promptly loses my start point. Irritating!

bitfield avatar Oct 22 '24 15:10 bitfield

Thanks for reporting this. It’s been fixed in https://github.com/zed-industries/zed/pull/25143, closing it now.

smitbarmase avatar Mar 22 '25 10:03 smitbarmase