sponsor Vim development Vim logo Vim Book Ad

basic Tip #168: Viewing the actual XPM data in GVIM

 tip karma   Rating 0/2, Viewed by 1308 

created:   November 21, 2001 10:06      complexity:   basic
author:   Carl Lunde      as of Vim:   6.0

GVIM has an excellent syntax highlighting for XPM images, but sometimes it's useful to view the actual data. This can be achieved by searching for everything, type in "/." and all characters will be highlighted and therefore the old colouring is lost. To regain the normal highlighting you can search for a non-existent sequence, like "/foo".

 rate this tip  Life Changing Helpful Unfulfilling 

<<Using vim as a man-page viewer under Unix | <Tab> = <C-I> and <Esc> = <C-[> >>

Additional Notes

[email protected], November 21, 2001 10:28
This requires search highlighting to be turned on, see vimtip #14 (or just type :set hlsearch). It should also work with 5.7
Anonymous, November 29, 2001 5:28
instead of searching for something nonexistant like /foo, just type :noh (for no highlighting)
If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to [email protected] after searching the archive. Help Bram help Uganda.
    stats
Sponsored by Web Concept Group Inc. SourceForge.net Logo