Change Key shortcut in VS

  • Thread starter Thread starter tshad
  • Start date Start date
T

tshad

I need to change a key stroke of CTRL Y to a Redo command (as every other
program including Microsofts does) in my VS 2008 program.

When I hid CTRL Y now, it deletes the line I am on.

As usual, Microsoft doesn't follow standards everyone else does.

Is there a way in VS 2008 to do this?

Thanks,

Tom
 
tshad said:
I need to change a key stroke of CTRL Y to a Redo command (as every other
program including Microsofts does) in my VS 2008 program.

When I hid CTRL Y now, it deletes the line I am on.

As usual, Microsoft doesn't follow standards everyone else does.

Is there a way in VS 2008 to do this?

Thanks,

Tom

Hi Tom

Go to Tools > Options > Environment > Keyboard, then search for
"edit.redo" command and then assign CTRL Y to it.

Regards
Warren
 
Warren Tang said:
Hi Tom

Go to Tools > Options > Environment > Keyboard, then search for
"edit.redo" command and then assign CTRL Y to it.

That was it.

Thanks,

Tom
 
Spence said:
Just for reference, it's probably based on the old Wordstar shortcut keys
used in programmers editors like Emacs. IIRC, they used to be Ctrl+k
followed by a letter, and Ctrl+k y was delete line. These were the same
keys
used in the old Borland editors, so in a way Microsoft are following
tradition.

Actually, you are probably right.

The default seems to be to set the keyboard mapping scheme to VB6. Not
quite sure why that would be the case unless there was something on my
machine that showed I had used VB6 at one time.

Thanks,

Tom
 
Back
Top