Skip to content

ctram/scroll-with-stationary-cursor

Repository files navigation

Scroll with Stationary Cursor

Features

Adds ability to scroll in sync with the cursor moment. For example, pressing the "up" key moves the cursor up one line as normal; the new behavior also scrolls up one line. The opposite is also true: move the cursor down a line; scroll down one line. As a result, the cursor remains the same distance from the top and bottom of the editor.

Commands

scrollWithCursorUp

scrollWithCursorDown

Default Keyboard Binding

Mac

Command Keybinding
Move cursor down one line ctrl + alt + cmd + down
Move cursor up one line ctrl + alt + cmd + up

Linux

Command Keybinding
Move cursor down one line ctrl + alt + meta + down
Move cursor up one line ctrl + alt + meta + up

Win

Command Keybinding
Move cursor down one line ctrl + alt + win + down
Move cursor up one line ctrl + alt + win + up

About

VS Studio extension

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published