hillaryychan / ulauncher-fzf

Find files and directories in Ulauncher using fzf (and fd)
https://ext.ulauncher.io/-/github-hillaryychan-ulauncher-fzf
MIT License
53 stars 8 forks source link

feat: trim displayed path name results #39

Closed hillaryychan closed 1 year ago

hillaryychan commented 1 year ago

Problem:

37 mentions that search results can contain duplicate prefixes that can be redundant to users trying to users trying to understand the results

image

Solution: Add a setting that allows us to trim common prefix path in the generated results. This does not affect the copied or opened file path result.

image

image

Note that the trimmed path still includes the parent directory to provided additional context about where the resulting path is.