0

Specifically, I am always hitting Ctrl-A instead of Ctrl-S which is really annoying because it loses your place in the code. I very rarely actually want to select all of a file in Visual Studio, so I'd like to remove the keyboard shortcut so that Ctrl-A does nothing. Any way to do this?

JoelFan
  • 37,465
  • 35
  • 132
  • 205

3 Answers3

3
  • Go to Tools -> Options -> (select "Show all settings" checkbox) -> Environment -> Keyboard
  • Type "Edit.SelectAll" in the text box labeled "Show commands containing"
  • Click the Remove button to remove the shortcut Ctrl-A for that command
M4N
  • 94,805
  • 45
  • 217
  • 260
0
Tools > Options > 'Show all settings' > Environment > Keyboard

Obtained from this SO question.

Community
  • 1
  • 1
Daniel F. Thornton
  • 3,687
  • 2
  • 28
  • 41
0

By the way, ctrl-minus will take you back to your previous position in the code, and ctrl-shift-minus will take you forward.

1800 INFORMATION
  • 131,367
  • 29
  • 160
  • 239