Feature: Add scrolloff #9
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority/Critical
Priority/High
Priority/Low
Priority/Medium
Priority/Undefined
Reviewed/Confirmed
Reviewed/Duplicate
Reviewed/Invalid
Reviewed/Won't Fix
Status/Abandoned
Status/Blocked
Status/Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
NTBBloodbath/koa#9
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Implements the scrolloff functionality similar to vim, where the screen scrolls according to the cursor position on the screen.
Here's an example:
Let's imagine we have a 5 line big screen, and a 7 line big file.
As soon as the cursor goes beyond the screen, the screen should scroll to new lines in the current file, i.e:
An option would maybe allow the height required for the cursor to go off screen to be increased.
Example:
scrolloff = 3would've made our cursor start scrolling at line 2.Update: Implemented, however there is no horizontal scrolloff yet.