Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Scroll using the keyboard?

Tags:

sublimetext2

How can I scroll up and down a file using my keyboard? I tried the arrow keys plus different modifiers.

like image 314
Farzher Avatar asked Jan 11 '13 20:01

Farzher


People also ask

How do I scroll without a mouse?

Move your fingers between the top and bottom of your touchpad to scroll up and down, or move your fingers across the touchpad to scroll sideways. Be careful to space your fingers a bit apart. If your fingers are too close together, they just look like one big finger to your touchpad.

What is the shortcut key for scroll down?

To scroll down on a screen, press the Space key.

How do I scroll on my laptop without a mouse?

Try out these gestures on the touchpad of your Windows 10 laptop. Select an item: Tap on the touchpad. Scroll: Place two fingers on the touchpad and slide horizontally or vertically. Zoom in or out: Place two fingers on the touchpad and pinch in or stretch out.


1 Answers

If you look at the default key binding for the program (on Mac version, this is in the menu "Sublime Text 2/Preferences/Key Bindings - Default"), you can see what all the keyboard shortcuts are.

I did a find for "scroll" and found these lines:

{ "keys": ["ctrl+alt+up"], "command": "scroll_lines", "args": {"amount": 1.0} },
{ "keys": ["ctrl+alt+down"], "command": "scroll_lines", "args": {"amount": -1.0} },

So, ctrl+alt+up and ctrl+alt+down will scroll the view up and down 1 line at a time. If you want to change this, copy these lines into your "Key Bindings - User" file and change the corresponding parts of the line.

like image 100
Jonathan Wren Avatar answered Oct 16 '22 14:10

Jonathan Wren