filter requires spaces between multiple search terms to work #1824
-
Lets say I have a list and want to search a match out of multiple words: let's say:
let's say I want to find the second line with: Is there no way that I don't need the space in between and can't just search Emacs smex / fuzzy search does that with buffers. Is that not possible or is there a trick to configure rofi to do that? As example with the windowswitcher. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 7 replies
-
Try |
Beta Was this translation helpful? Give feedback.
-
Yes that does the trick thx, did search for fuzzy but somehow had -fuzzy in the options instead of the -matching fuzzy. |
Beta Was this translation helpful? Give feedback.
-
@DaveDavenport there is still a problem, because the window titel are extremly long it finds multiple matches even for long substrings. Can I limit the characters per Colums or in this case the title so instead of {w} {t} something like {w}:10 {t}:20 or so. I tried with themes but even if it cuts of parts of the string with ... at the end it still uses the stuff after that for filtering. |
Beta Was this translation helpful? Give feedback.
-
Ok just if somebody tries my posted code here, window-menu can't be a defined as a one time variable with setq, it must be a function otherwise it never updates the window list: (defun stump-windows ()
...
)
(rofi:menu (stump-windows) "-show run -i -matching fuzzy -theme gruvbox-dark -font 'Dejavu Sans Mono 22' -theme+window+width 20em ")) |
Beta Was this translation helpful? Give feedback.
Try
-matching fuzzy