fzy icon indicating copy to clipboard operation
fzy copied to clipboard

Option to not highlight matching segments

Open fxn opened this issue 6 years ago • 2 comments

Normally, when I search, the matching segments give little information to me. I am just scanning for the file name I am looking for and find them actually distracting (though interesting technically!).

The reverse video for the current selection is perfect though, since the current selection is prominent.

Would it be possible to have a flag to disable highlighting segments? I am the author of a minimalistic Vim colorscheme (https://github.com/fxn/vim-monochrome) and as a bonus aesthetically it would match the theme really well.

fxn avatar Dec 05 '17 09:12 fxn

A bit of a faf but you could edit src/config.def.h and recompile. Looks like the line would need to be something like:

--- src/config.def.h.orig   2017-12-07 20:40:26.000000000 +0000
+++ src/config.def.h   2017-12-07 20:40:45.000000000 +0000
@@ -1,4 +1,4 @@
-#define TTY_COLOR_HIGHLIGHT TTY_COLOR_YELLOW
+#define TTY_COLOR_HIGHLIGHT TTY_COLOR_NORMAL

 #define SCORE_GAP_LEADING -0.005
 #define SCORE_GAP_TRAILING -0.005

casr avatar Dec 07 '17 20:12 casr

Was precisely looking into the code today. I think you're right.

fxn avatar Dec 07 '17 21:12 fxn