fzf icon indicating copy to clipboard operation
fzf copied to clipboard

Bind a key to change the highlight

Open jeetsukumaran opened this issue 2 years ago • 1 comments

  • [X ] I have read through the manual page (man fzf)
  • [X ] I have the latest version of fzf
  • [ X] I have searched through the existing issues

Info

  • OS
    • [ X] Linux
    • [ ] Mac OS X
    • [ ] Windows
    • [ ] Etc.
  • Shell
    • [X ] bash
    • [ ] zsh
    • [ ] fish

Problem / Steps to reproduce

Is there a way to bind a key to change the highlight. In particular, I would like to easily toggle between the match highlight being "on" or "off" (same color as normal text). The match highlight is VERY useful, but sometimes I just want to scan the list for words/phrases and the highlighting breaks up the words visually making it just a bit more difficult to read.

jeetsukumaran avatar Nov 28 '21 03:11 jeetsukumaran

There's no such option. Maybe using something like fzf --color 'hl:underline:-1,hl+:-1:underline' can help in your case.

junegunn avatar Jul 21 '22 13:07 junegunn