Is it possible to change the behavior of the search function?
1 year, 4 months ago
on Sept. 23, 2019, 3:57 p.m.
Reason: Initial post
First of all, I'm wondering if it's possible to make Ctrl-f search to highlight all matches of the word with one color and the one under cursor with another. Like in browsers and vim.
Second, to make it work across all visible buffers. Say I opened 2 files and search for "bind", I want it to highlight in both buffers.
Third, make it rotate when it hits bottom. So if the buffer contains 8 occurrences of the word "bind", I want to press Ctrl-f and then when I'm at the bottom just hit f and start searching from the top again.
Fourth is a tricky one. Lister navigation is fast but it needs fuzzy search. I'm not sure how it works currently, but it seems to be directory oriented. So if the file is 5 directories deep but has a unique name like "pubserv.c" across the whole project you'll need to do some typing. With fuzzy search I could have just typed "psrv" and hit enter. It is not directory oriented. It might be, but then it'll become less powerful. I don't think fuzzy lister should replace the current one. They might coexist.
All of this in configuration layer.
Anyway, I'm still barely even a 4coder user and haven't dived deep into configuration capabilities. But I'm trying to use it more.