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

FEATURE: When not in preview mode, make C-f and C-b scroll the sidebar #1669

Open
1 task done
raw-bin opened this issue Jan 26, 2025 · 2 comments
Open
1 task done
Labels
enhancement New feature or request

Comments

@raw-bin
Copy link

raw-bin commented Jan 26, 2025

Did you check the docs?

  • I have read all the docs.

Is your feature request related to a problem? Please describe.

Hi.

NERDTree by default allows scrolling the sidebar page-wise, using C-f and C-b for 'forward-one-page' and 'backward-one-page' respectively. This is useful when you don't know what to search for in particular and are interested in visually inspecting a directory tree. At present the only way to do this with neo-tree is to use the j and k keys to go up and down beyond sidebar page widths which gets cumbersome for large directory trees.

I note that neo-tree has C-f and C-b bound to Preview scrolling actions.

Describe the solution you'd like.

It would be useful to have C-f and C-b perform:

  1. Sidebar region scrolling when not in preview mode
  2. Preview region scrolling when in preview mode

Describe alternatives you've considered.

As mentioned above, NERDTree has this feature.

Also as mentioned above, the use of the j and k keys is a cumbersome alternative.

Additional Context

No response

@raw-bin raw-bin added the enhancement New feature or request label Jan 26, 2025
@pynappo
Copy link
Collaborator

pynappo commented Jan 26, 2025

Will be fixed by #1651, just need to figure out if it's a reasonable way to implement it.

@raw-bin
Copy link
Author

raw-bin commented Jan 26, 2025

Thanks @pynappo for such a prompt response! Appreciated!

I’ll test and share feedback ASAP.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants