Change scrollspeed for ctrl + arrows in Visual Studio?

I don’t want to take my hands on the keyboard every time I look at a document, so I started using ctrl + up and ctrl + down. But this is so sloooooow, is there a way to get it to scroll more than one line per click?

+4
source share
6 answers

Whenever the keyboard tires, AutoHotkey always saves the day!

This AutoHotkey macro should do the trick:

^DOWN:: send ^{DOWN}^{DOWN}^{DOWN} ;send Ctrl+Down 3 times return ^UP:: send ^{UP}^{UP}^{UP} ;send Ctrl+Up 3 times return 

This is a pretty rude decision, but it seems to do what you want.

+2
source

In addition to the Auto Hot Key comment, I would like to publish a script I use:

 #SingleInstance Force #CommentFlag // // Script affects scroll speed only when Visual Studio window is active. #IfWinActive, [Name of Project] - Microsoft Visual Studio // Ctrl+Up = Ctrl+Up * 20 ^Up:: Send, ^{Up 20} Return // Ctrl+Down = Ctrl+Down * 20 ^Down:: Send, ^{Down 20} Return // Scroll Up = Scroll Up * 20 WheelUp:: Send, {WheelUp 15} Return // Scroll Down = Scroll Down * 20 WheelDown:: Send, {WheelDown 15} Return // Pressing Escape stops the script. Esc::ExitApp 
+1
source

No, this is not possible with the default key bindings in Visual Studio. They allow you to scroll only one line at a time.

You can do this by creating a macro and running the Edit.MoveControlUp command several times.

0
source

PgUp and PgDn work for me. I hate using a mouse.

0
source

In the Keyboard Properties control panel, you can set character repeat options. You can set the repeat delay (long ↔ short) and the repetition speed (slow ↔ fast).

0
source

You say per click, I assume that you mean every click of the mouse wheel.

I found a simple plugin that gives nitrous oxide for scroll speed when you hold CTRL

Quick mouse scroll : https://visualstudiogallery.msdn.microsoft.com/17c06288-98de-46bc-97ba-4f468bf8a431

The CTRL key is usually closed by my “keyboard” hand, and in combination with the mouse is faster than the Page Up / Page Down keys.

It’s also good that the speed is “normal” when you don’t hold CTRL , so you can also have accuracy.

0
source

All Articles