Want Color in Your Text Editor?



If you are a programmer or a web designer, and want to have color designation to your coding without having to buy Dreamweaver or any other pricey HTML editors, I would recommend downloading Vim. Vim is a vi-based clone that allows you to view your code, HTML, CSS, etc. in a color-coded style.

This app can be downloaded by doing: sudo apt-get install vim

VIM can also be an alternative to using vi, which only displays code in monochrome. Here is a comparison of between the physical appearances of vi and vim:

Terminal without vim - Just using vi


Terminal with vim

This also helps troubleshooting easier if you have an error somewhere in your HTML code. This color coding works for: HTML, XML, CSS, PHP, Perl, HtAccess, and many other languages.

Enjoy! :)

2 Responses to “Want Color in Your Text Editor?”

  1. Paul Says:

    Are you sure apt-get is the best way to install vim on a mac?

  2. Chad Sweely Says:

    You could also download it manually using bunzip, etc. This way, it is available from macvim.org.

Leave a Reply