snacks.nvim icon indicating copy to clipboard operation
snacks.nvim copied to clipboard

feat(picker): horizontal list scrolling

Open acidclouds opened this issue 1 month ago • 0 comments

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 avatar Jan 24 '25 10:01 acidclouds