Change Key shortcut in VS

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • tshad

    Change Key shortcut in VS

    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


  • Warren Tang

    #2
    Re: Change Key shortcut in VS

    tshad wrote:
    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

    Comment

    • tshad

      #3
      Re: Change Key shortcut in VS


      "Warren Tang" <warren_tang@si na.comwrote in message
      news:Oy7zev$GJH A.1304@TK2MSFTN GP02.phx.gbl...
      tshad wrote:
      >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.
      That was it.

      Thanks,

      Tom
      >
      Regards
      Warren

      Comment

      • Spence

        #4
        Re: Change Key shortcut in VS

        In article <u2mjPG7GJHA.47 60@TK2MSFTNGP05 .phx.gbl>, Tshad wrote:
        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.
        >
        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.

        --
        Spence
        Computing Services - because IT needn't be difficult


        Comment

        • tshad

          #5
          Re: Change Key shortcut in VS

          "Spence" <spencelayhatho tmaildotcomwrot e in message
          news:VA.0000004 8.0f5b7899@a100-049-vista.tridentsy stems.local...
          In article <u2mjPG7GJHA.47 60@TK2MSFTNGP05 .phx.gbl>, Tshad wrote:
          >
          >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.
          >>
          >
          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
          >
          --
          Spence
          Computing Services - because IT needn't be difficult

          >

          Comment

          Working...