Fri 23 Sep 2005
I finally discovered how to enable color syntax in vi:
:syntax enable
Here a couple good reference sites for customing vim and your exrc file.
- my .exrc is someone’s .exrc file which contains lots of useful settings.
- Best of VIM Tips shows some highly useful stuff, most of it I didn’t know was possible!
As I use vi more and more, I am curious to find new ways to customize it so to increase productivity. One option I may like to implement in the future is the use of abbreviations and mappings. Abbreviations are useful during insert mode to auto-complete phrases (e.g. img -> ). Mappings are useful for abbreviating commands, and can be used to wrap a line of code inside html tags or comments.
One Response to “Vim Color Syntax”
Leave a Reply
You must be logged in to post a comment.


September 23rd, 2005 at 6:30 pm
Interesting. I’m curious how pervasive Vim (an Open Source programmer’s Vi editor) is at IOD and where it might be installed? Seems I recall it mentioned by someone else recently.