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

If I select text and cmd/ctrl + c more than once, it deselects all the previously selected text and copies only 1 character #37308

Closed
morriswchris opened this issue Oct 31, 2017 · 5 comments
Assignees
Labels
info-needed Issue requires more information from poster
Milestone

Comments

@morriswchris
Copy link

  • VSCode Version: Code 1.17.2 (b813d12, 2017-10-16T13:47:41.889Z)
  • OS Version: Darwin x64 16.6.0
  • Extensions:
Extension Author (truncated) Version
jshint dba 0.10.15
vscode-gist dba 1.0.0
file-icons fil 1.0.5
color-highlight nau 2.3.0
vscode-icons rob 7.17.0
Align ste 0.2.0
vim vsc 0.10.2

(1 theme extensions excluded)


Steps to Reproduce:

  1. cmd/ctrl + a to select file of text
  2. cmd/ctrl + c multiple times
  3. cmd/ctrl + v will produce only the character where the cursor last was

Reproduces without extensions: Yes/No

@vscodebot vscodebot bot added the editor label Oct 31, 2017
@octref
Copy link
Contributor

octref commented Oct 31, 2017

After your first Cmd+C the selection is cleared. Don't know if this behavior can be toggled via a setting.

@alexdima
Copy link
Member

alexdima commented Nov 1, 2017

@morriswchris I cannot reproduce this on a default installation of VSCode. Does this reproduce for you when disabling extensions that take over input like e.g. vim ?

@alexdima alexdima added the info-needed Issue requires more information from poster label Nov 1, 2017
@alexdima alexdima added this to the Backlog milestone Nov 1, 2017
@morriswchris
Copy link
Author

@alexandrudima you are correct facepalm. I should have tried disabling vim first.

@octref
Copy link
Contributor

octref commented Nov 1, 2017

Well actually I use Vim too so it repros for me. I guess you can file an issue on VSCodeVim to treat y and cmd+c differently.

@morriswchris
Copy link
Author

VSCodeVim has actual filed an issue with VSCode (#217) to address this as well. As a work around then mention setting "vim.overrideCopy" to false, which has seemed to solve the issue for me

@vscodebot vscodebot bot locked and limited conversation to collaborators Dec 16, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

3 participants