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

feat(picker): horizontal list scrolling #733

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

acidclouds
Copy link
Contributor

@acidclouds acidclouds commented Jan 24, 2025

Description

When working with horizontal layout display, it is sometimes necessary to horizontally scroll the list of results, as the full result does not fit in the list window.
Added an option to horizontally scroll the list window the same way preview window is horizontally scrolled.
Added default keymaps in normal mode only as this is a rare case and usually j/k are used to move across list items in normal mode so this behavior should be natural.
This scrolling can be achieved also by moving the focus to the list window by pressing "/" and then moving the cursor, however I usually just leave insert mode to scroll the results.

Related Issue(s)

Screenshots

image

image

@acidclouds acidclouds changed the title feat(Picker): Added horizontal list scrolling feat(picker): horizontal list scrolling Jan 24, 2025
Copy link
Contributor

This PR is stale because it has been open 30 days with no activity.

@github-actions github-actions bot added the stale label Feb 24, 2025
@acidclouds
Copy link
Contributor Author

Gentle bump...
If you don't like this change, let me know and I'll close the PR

@github-actions github-actions bot removed the stale label Feb 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant