Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Select to copy" in integrated terminal #21821

Closed
gswalden opened this issue Mar 2, 2017 · 10 comments
Closed

"Select to copy" in integrated terminal #21821

gswalden opened this issue Mar 2, 2017 · 10 comments
Assignees
Labels
*as-designed Described behavior is as designed feature-request Request for new features or functionality terminal Integrated terminal issues
Milestone

Comments

@gswalden
Copy link

gswalden commented Mar 2, 2017

iTerm2 has a very convenient feature which copies any selection to your clipboard immediately upon mouseup. If VS Code could implement this in the integrated terminal, I think it'd be great!

I will also note I fully understand I could use iTerm2 has an external terminal to make use of this feature today.

@smuuf
Copy link

smuuf commented Mar 3, 2017

If implemented, please make this an option. I wouldn't want to overwrite my precious clipboard just by selecting something in the terminal.

@ffes
Copy link

ffes commented Mar 3, 2017

The Cygwin mintty has this feature as well and I always miss it when I open use my terminal in Xubuntu. I would immediately enable such a feature.

@Tyriar Tyriar added feature-request Request for new features or functionality terminal Integrated terminal issues labels Mar 3, 2017
@Tyriar
Copy link
Member

Tyriar commented Mar 3, 2017

In the meantime you may want to turn this one on which is common on Windows:

  // When set, this will prevent the context menu from appearing when right clicking
  // within the terminal, instead it will copy when there is a selection and paste when
  // there is no selection.
  "terminal.integrated.rightClickCopyPaste": true,

@Tyriar Tyriar added this to the Backlog milestone Mar 3, 2017
@Tyriar
Copy link
Member

Tyriar commented Apr 21, 2017

No plans to implement this, there are already many ways to configure copy/paste in the terminal.

@Tyriar Tyriar closed this as completed Apr 21, 2017
@Tyriar Tyriar added the *as-designed Described behavior is as designed label Apr 21, 2017
@vikas027
Copy link

Hey @Tyriar ,
As of now, I am usingcmd+c to copy text in terminal. What is the alternative (as mentioned in the previous comment) there to do the same by just selecting text?

@gswalden
Copy link
Author

@vikas027 using the setting he mentioned here you can select then right-click to copy.

@vikas027
Copy link

Thanks @gswalden , I got it now. So it is select, right-click to copy, and then right-click to paste.

@mikecarr
Copy link

@TyIar "No plans to implement this, there are already many ways to configure copy/paste in the terminal" do you wish to elaborate? Is there a link somewhere we can go see how? Is this tribal knowledge? This may not be evident to new users.

@Tyriar
Copy link
Member

Tyriar commented Oct 17, 2017

@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 17, 2017
@Tyriar
Copy link
Member

Tyriar commented Jun 15, 2018

This ended up being added, see #36271. See the terminal.integrated.copyOnSelection setting

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*as-designed Described behavior is as designed feature-request Request for new features or functionality terminal Integrated terminal issues
Projects
None yet
Development

No branches or pull requests

6 participants