Search code examples
visual-studiovisual-studio-2015keyboard-shortcutstext-editor

Arrow key to move cursor down one line in text editor stopped working


I can no longer use just the down arrow keyboard key to move the cursor down one line in the text editor. Using arrow keys to move up, left, and right still works fine. How could this have broken, and how can I fix this?

I have closed and re-opened VS, but that did not fix the issue.

Right before this started happening, I was remapping some of the keyboard shortcuts under Options -> Keyboard. I deleted a bunch of unused shortcuts, added some new ones, and changed some. Is it possible that there was a shortcut just for moving the cursor around that I inadvertently deleted? I looked, but I don't see any shortcuts that might fit that description.


Solution

  • Normally, Edit.LineDown command should have Down Arrow assigned to it in the Text Editor scope:

    enter image description here

    You may need to reassign the shortcut if it is broken.