Search code examples
visual-studiokeykeyboard-shortcuts

Home key go to start of line in Visual Studio?


Where is the option in Visual Studio to make the Home key go to the start of the line?

Right now you have to do

Home,Home

or

Home, Ctrl+Left Arrow

i'd prefer that home goes to the start of the line. i saw it before, but now i cannot find it.


Solution

  • In Tools/Customize/Keyboard, Reassign the "Home" key from Edit.LineStart" to "Edit.LineFirstColumn"

    Edit by OP: You must change Scope to Text Editor before this will work.


    Visual Studio 2010

    Visual Studio 2010 removed the "scope" option. Instead you want the "Use new shortcut in" option:

    enter image description here