Bug 528823 - Add a scrolloff=N option for cursor (i.e number of line always visible around cursor)
Summary: Add a scrolloff=N option for cursor (i.e number of line always visible around...
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: IDE (show other bugs)
Version: 4.7   Edit
Hardware: PC Linux
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-15 04:44 EST by François Armand CLA
Modified: 2020-10-27 02:41 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description François Armand CLA 2017-12-15 04:44:06 EST
Hello, 

Vim has a scrolloff option that allows to always see N lines after/before cursor in editor (http://vimdoc.sourceforge.net/htmldoc/options.html#'scrolloff')

So for example, when you move the cursor down, the editor view will start scrolling when the cursor reaches N lines before the last one, and so you can start editing view some context. 

Also very useful when you paste a whole line and you can avoid to scroll down, oups I went to much down, move the cursor up again...