Handy keyboard shortcut for commits

Apr 25, 2011 at 8:05 AM

I thought you might find this handy in Visual Studio to save a few clicks. 

I assigned Ctrl-Alt-C to VisualHg's Commit menu item so a commit it just Ctrl-Alt-C, type a commit message, ctrl-enter. Done. No mouse clicks.

Tools -> Options -> Environment -> Keyboard

In "Show commands containing" start typing: "File.Commit" and select it when it appears in the list of commands

in "Use New Shortcut in" Select "Text Editor"

Assign your keyboard shortcut. I also did the same with Ctrl-Alt-R for the "File.RepoBrowser"