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

VsVim rebinds ctrl+c even when set to allow visual studio to handle the hotkey #3085

Open
2 tasks
NickSt opened this issue Dec 8, 2023 · 1 comment
Open
2 tasks

Comments

@NickSt
Copy link

NickSt commented Dec 8, 2023

Describe the bug
When VsVim is installed it starts handling ctrl+c as if it were a chord even when handled by visual studio. So ctrl+c doesn't copy even if visual studio is set to use it as copy. The issue persists if VsVIm is disabled (ctrl+shift+f12) and must be uninstalled to resolve the problem

To Reproduce

  1. Install VsVim
  2. Setup Ctrl+C and Ctrl+V to be handled by visual studio
  3. press ctrl+c on a text selection
  4. observe in bottom left it says waiting for second key of a chord and attempt to paste with ctrl +v and observe it does not work.

Expected behavior
VsVim should not modify existing shortcuts if they are being handled by visual studio and should allow them to work.

Screenshots
If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

  • Visual Studio version: 17.8.3
  • VsVim version: 2.10.0.6
  • Programming Language: c#
  • Check(Type 'x') any that are installed:
    • ReSharper
    • Visual Assist

Additional context
Add any other context about the problem here.

@boatwrong
Copy link

Tried to reproduce without much success.

Is this the message you are seeing in the bottom left hand area of the window?
image

If so, I think that is Visual Studio handling the keypress and you either do not have ctrl-v / ctrl-c mapped to an action or have ctrl-c / ctrl-v mapped to multiple actions using chords and Visual studio is waiting for the second part of the chord. Either way, check the Tools -> options -> environment -> keyboard settings menu and search for Edit.Copy or Edit.Paste to see what keyboard shortcuts are assigned for copy / paste.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants