Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a new scrolloff option to [manager] in the yazi.toml #675

Closed
1 task
sxyazi opened this issue Feb 14, 2024 · 2 comments · Fixed by #679
Closed
1 task

Add a new scrolloff option to [manager] in the yazi.toml #675

sxyazi opened this issue Feb 14, 2024 · 2 comments · Fixed by #679
Assignees
Labels
feature New feature request good first issue Good for newcomers

Comments

@sxyazi
Copy link
Owner

sxyazi commented Feb 14, 2024

I am posting some simple tasks here as "good first issues" that don't require too much of my attention.

I need to allocate my limited time to tasks that require my direct involvement.


Is your feature request related to a problem? Please describe

No response

Will you be willing to contribute this feature?

  • Yes, I'll give it a shot

Describe the solution you'd like

Currently its value is fixed to 5, that is, when moving the cursor in the file list, if there are fewer than 5 files below the cursor position, the list will automatically scroll. It would be great if it could be customized.

It is the same concept as scrolloff in Neovim, https://neovim.io/doc/user/options.html#'scrolloff'

Describe alternatives you've considered

No response

Additional context

No response

@sxyazi sxyazi added feature New feature request good first issue Good for newcomers labels Feb 14, 2024
@sxyazi sxyazi changed the title Add a new scrolloff option to [manager] Add a new scrolloff option to [manager] in the yazi.toml Feb 14, 2024
@dedukun
Copy link
Contributor

dedukun commented Feb 14, 2024

Hey, I'll like to have a go at this one.

Copy link

I'm going to lock this issue because it has been closed for 30 days. ⏳ This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature New feature request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants