Change Key shortcut in VS

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
 
W

Warren Tang

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
 
T

tshad

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
 
T

tshad

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,014
Latest member
BiancaFix3

Latest Threads

Top