Visual Studio - scroll and move the cursor

As a preface, I use ViEmu, although I do not think it affects anything. I just would like to scroll the text in a text editor and move the cursor to the relative position of the screen.

As an example, if my text editor displays 100 lines of visible code (1 - 100), and my cursor is on line 20, when I scroll down to the next visible 100 lines (101 -200), I need a 120 cursor.

Using the VS Edit.ScrollDown command scrolls the code down as expected, but leaving the cursor on line 20 instead of moving it to 120. Is there another command to use or change this behavior in any way?

0
source share
1 answer

As already noted in the question, you seem to want to rearrange the page down to a different key (due to the limited keyboard).

To determine which command is mapped, to open the keyboard settings dialog and enter the current key in the short key text field, and then look at what it is currently mapped to.

Unfortunately, this does not work for the page down (the control page down works, but this does not help here).

Entering the "page" in the command filter: Edit.PageDown displayed in the text editor in the "Down down". Match this command with another shortcut.

+1
source

All Articles