sponsor Vim development Vim logo go to HTTPS page Vim Book Ad

ShowLine.vim : Display line(s) in the command area (like echo), but syntax highlighted.

 script karma  Rating 7/3, Downloaded by 1046    Comments, bugs, improvements  Vim wiki

created by
Gary Holloway
script type
Display a line or lines in the command area, like the builtin echo, but using the original lines' syntax highlighting.

Useful to other scripts for displaying lines of text, highlighted as they appear in the editor window (e.g., see ShowBlockName.vim -- vimscript #382)
install details
I put it in my autoload directory (~/vim/autoload), so the function is automagically loaded as needed via an autocommand:

autocmd FuncUndefined * exe 'runtime autoload/' . expand('<afile>') . '.vim'

Rating scripts is only available on the HTTPS page

script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
ShowLine.vim 1.1 2002-08-15 6.0 Gary Holloway Initial upload
ip used for rating:

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 the maillist. Help Bram help Uganda.
SourceForge.net Logo