Skip to content

Conversation

@rolandwalker
Copy link
Contributor

Description

Add a preview window to fuzzy history search, compressing whitespace, and wrapping text.

This is highly desirable since many queries are longer than one line, and can't be distinguished in the search. That can be considered a regression over non-fuzzy search.

It would be even nicer to

  • somehow avoid compressing quoted whitespace
  • detect when the user has already set a preview location preference in $FZF_DEFAULT_OPTS

Checklist

  • I've added this contribution to the changelog.md.
  • I've added my name to the AUTHORS file (or it's already there).

compressing whitespace, and wrapping text.

This is highly desirable since many queries are longer than one line,
and can't be distinguished in the search.  That can be considered a
regression over non-fuzzy search.

It would be even nicer to
 * somehow avoid compressing quoted whitespace
 * detect when the user has already set a preview location preference
   in $FZF_DEFAULT_OPTS
@rolandwalker rolandwalker requested a review from amjith April 25, 2025 12:25
@rolandwalker rolandwalker self-assigned this Apr 25, 2025
@amjith
Copy link
Member

amjith commented Apr 25, 2025

Looks really nice.

@amjith amjith merged commit 299e874 into main Apr 25, 2025
6 checks passed
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.

3 participants