[lug] vi question

Brad Doctor bdoctor at ps-ax.com
Fri Jan 19 11:13:55 MST 2001


I use tcsh, and have this added to my .cshrc:

alias vi 'vi "+syntax on" \!*' 

That way, you don't have to enter "syntax on" each time you edit a file.

-brad 

> 
> 	Given the short talk on vi a couple of meetings back and the fact that I 
> know several of you bluggers are users. Can one get syntax highlighting 
> with this editor? I find myself using it more and more, it is the 
> fastest thing I've ever seen. And I would love to adopt it to more than 
> just quick administrative editing tasks. I've searched the web and found 
> a few .vimrc example files but I have not seen any pretty colors appear :^)
> -- 
> -------------
> Steven Deal
> 303 725 7433 (cell)
> 303 474 8113 (desk)
> 
> 
> 
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> 





More information about the LUG mailing list