> However, and as you can see from the image I linked, the syntax > highlighting on both windows gets quite distracting. Would it be be > possible to keep using the diffsplit mode and get the normal syntax > highlighting of one window "unmodified" (i.e., no diff coloring)?
I don't believe so. Diff highlighting is merely highlighting, so it's global. You could turn if off for everything, but not for one window at a time. Syntax highlighting, on the other hand, is buffer-local, so you can turn that off and have just the diff highlighting, if it helps, with :syn clear Actually, on reflection, that was a bit of a lame answer... I think it would be possible but not easy. Here's an outline of how you could do it, and perhaps some script wizard could flesh it out... What you'd do is set the diff highlighting to do nothing, or something very limited, or not relevant to your terminal, if this is needed to keep the group actually active. Then you'd define window-local match groups (using matchadd() probably) that would check the highlighting of each line and/or character for the window where you want the highlighting, and if the highlighting is currently using the (ineffective) diff highlighting, they further highlight it with something effective, which is what your diff highlighting used to be. You'd obviously wrap all that in some functions/commands/autocommands to make it easy to use. Ben. --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
