Sarah Northway
Sarah Northway

Reputation: 1068

VS 2017 (Ctrl+R) was pressed. Waiting for second key of chord

In Visual Studio 2015, Ctrl+R was globally mapped to Edit.NavigateTo. In VS 2017 Community, they've renamed this to Edit.GoToAll, which Ctrl+R is globally mapped to. But when I press Ctrl+R in C# editor, I get "(Ctrl+R) was pressed. Waiting for second key of chord..." and the dialog does not open.

What is hijacking Ctrl+R and how do I prevent it?

Upvotes: 2

Views: 2100

Answers (2)

Ryan Forte
Ryan Forte

Reputation: 589

I had a massive problem with chords where I couldn't even use "command Z" anymore. The way I was able to fix my chords issue was by editing the JSON file by following:

  1. settings
  2. preferences
  3. keyboard shortcuts
  4. while in keyboard shortcuts on the top right you will see an icon that looks like a file with an arrow on it. Click this. It will take you into keybindings.json. Here you can view all chords, add, edit and delete chords. I removed my command z chord and everything was back to normal.

Upvotes: 0

Sarah Northway
Sarah Northway

Reputation: 1068

Aah, didn't notice that shortcuts in use was a dropdown with multiple values - thank you Hans Passant. Looks like Edit.ViewWhiteSpace defaults to Ctrl+R, Ctrl+W and that was making Ctrl+R not work at all. Odd.

Upvotes: 3

Related Questions