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

Comments

@gswalden
Copy link

@gswalden 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

This comment has been minimized.

Copy link

@smuuf 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

This comment has been minimized.

Copy link

@ffes 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

This comment has been minimized.

Copy link
Member

@Tyriar 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

This comment has been minimized.

Copy link
Member

@Tyriar 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 Apr 21, 2017
@Tyriar Tyriar added the *as-designed label Apr 21, 2017
@vikas027

This comment has been minimized.

Copy link

@vikas027 vikas027 commented Jun 15, 2017

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

This comment has been minimized.

Copy link
Author

@gswalden gswalden commented Jun 15, 2017

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

@vikas027

This comment has been minimized.

Copy link

@vikas027 vikas027 commented Jun 15, 2017

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

@mikecarr

This comment has been minimized.

Copy link

@mikecarr mikecarr commented Oct 17, 2017

@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

This comment has been minimized.

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

This comment has been minimized.

Copy link
Member

@Tyriar 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.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
6 participants
You can’t perform that action at this time.