As a brief note to self, I like the way the TODO tag is highlighted when using TextMate, so I dug around to see how it worked so I can make other words be highlighted the same way it is. The short answer is that in TextMate, click the Bundles menu, select Edit Bundles, then scroll down to select TODO near the bottom of the list, then Language Grammars and TODO. The last few steps are shown in the image.
In an earlier vim color configuration tutorial I described how to have fine-grained control of your vi and vim color settings. In this article I’ll take an easier route and just show how you can use existing color schemes in your vi editor sessions.
Using a vim color scheme
Using a vim color scheme is actually pretty simple. If you’re in a vim editor session, just issue the vim
colorscheme command from last line mode, like this:
This image shows how to use color syntax highlighting in the Scala REPL. In short, just start the REPL like this:
$ scala -Dscala.color
vim colors FAQ: Can you provide details on how to control/configure colors in the vim editor (vim color settings)?
When using vim syntax highlighting, a common complaint is that the default color scheme is a little too bold. In this article I'll try to demonstrate how you can change the colors in vim to be a little more pleasing, or at least be more in your control.
vim syntax faq: How do I turn on (enable) or turn off (disable) vim syntax highlighting?
Turning on syntax highlighting in your vim editor is usually pretty simple; you just need to issue a
syntax on command, either in your current editor session, or in your vimrc configuration file. Here are a couple of quick examples.
Turn vim syntax highlighting on
To enable syntax highlighting in your current vim editor session just issue this command: