sponsor Vim development Vim logo Vim Book Ad

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

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

created by
Gary Holloway
 
script type
utility
 
description
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'
 

rate this script Life Changing Helpful Unfulfilling 
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: 54.197.94.141

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