Skip to content

callum-ramage/ctrl-dir-scroll

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ctrl-dir-scroll package

This project is an Atom package.

It's meant to reproduce the Line Up/Down functionality of Sublime and SCI_LINESCROLLUP/DOWN functionality from Notepad++

The desired behaviour is to have Ctrl-Up (Ctrl-Alt-Up on Mac) scroll the page a single line up, leaving the cursor in place. The same should happen for Ctrl-Down (Ctrl-Alt-Up on Mac) but in the opposite direction.

You can also use Ctrl-Shift-Up/Down (Ctrl-Alt-Shift-Up/Down on Mac) to move 10 lines at a time (amount of lines configurable).

When the cursor reaches the end of the page, it should scroll a single line as well to prevent it moving off the page (this can be disabled in settings).

Also have a look at line-jumper which allows you to move the cursor 10 lines at a time.

Atom version 1.0 compliant thanks to harai Multiple line jumping thanks to kankaristo

About

Add ctrl-up/down single line scrolling to Atom

Resources

License

Stars

Watchers

Forks

Packages