views:

34

answers:

3

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?

+3  A: 
  • 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
A: 
Tools > Options > 'Show all settings' > Environment > Keyboard

Obtained from this SO question.

pianoman
A: 

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