Hi all :)) I've noticed something weird regarding IncSearch and I don't know if the problem is that I've set up my colors badly or that just I don't understand how the highlight command works. My terminal is 8 colors.
If I set my "IncSearch" highlight group to something like this: highlight IncSearch cterm=NONE colorfg=0 colorbg=1 and then I do an incremental search for a word that is already highlighted with a "bold" color in foreground (e.g. for a word that is highlighted like a group with cterm=bolg, colorfg=6, colorbg=6, which is an example I've used and tested to reproduce this), then the background color of that work is changed to the background color of "IncSearch", but the foreground color is changed to the foreground color "bold"ed!. Looks like the bold attribute for the searched word is not replaced by the "NONE" attribute, so the incremental search shows weird colors when used over "bold"ed words. I've tested the other way around (IncSearch being "bold" and the searched word being cterm=NONE) and that works perfectly, the "bold" attribute replaces correctly the "NONE" attribute. Am I doing something wrong, my terminal definitions are screwed or is this just a feature of IncSearch? Thanks a lot in advance :) Raúl Núñez de Arenas Coronado -- Linux Registered User 88736 | http://www.dervishd.net It's my PC and I'll cry if I want to... RAmen!