Rick Mohr

When navigating code by words (Ctrl+Right or Ctrl+Left) I much prefer the Emacs version of word boundaries, which skips over punctuation. Using Tools > Options > Environment > Keyboard I can apply the entire Emacs keyboard mapping scheme and get this style of word navigation along with everything else.

But I want to use the default Visual Studio keyboard mapping scheme and just change the binding of the Ctrl+Right key (in Text Editor scope) to be Edit.EmacsWordNext. When I do this however and hit Ctrl+Right, the cursor doesn't move at all.

Same behavior in Visual Studio 2005 with or without SP1.

Any suggestions Thanks,

-Rick



Re: Visual Studio Setup and Installation Bug? Assigning shortcut key fails

Luke Westendorf MSFT

Hello Rick,

Sorry to inform you, but if your keyboard mapping scheme is not set to Emacs then the command Edit.EmacsWordNext will not be availabe to you. Therefore there is no way to get this behavior while using the default keyboard mapping scheme.

-Luke






Re: Visual Studio Setup and Installation Bug? Assigning shortcut key fails

Rick Mohr

Thanks very much for your answer.

Please consider this a feature request.

But if you keep the current behavior, shouldn't Edit.Emacs* only be shown in the list of available functions when the keyboard mapping scheme is set to Emacs

-Rick





Re: Visual Studio Setup and Installation Bug? Assigning shortcut key fails

Luke Westendorf MSFT

Hello-

The best way to suggest new features is to do it through the following site:

http://connect.microsoft.com/site/sitehome.aspx SiteID=210

This way you can track the progress, etc.

Also, we do not limit the commands in the Keyboard menu to those that are available in the current keyboard mapping scheme. However, you can usually assume that if the name of the command starts with "Emacs" or "Brief" then that command is only available when that mapping scheme is applied.

-Luke