how to make my vim colorful in xubuntu
marius at pov.lt
Sat Nov 1 07:52:02 UTC 2008
On Sat, Nov 01, 2008 at 03:23:36PM +0800, loody wrote:
> 2008/11/1 loody <miloody at gmail.com>:
> >> Edit /etc/vim/vimrc and uncomment line 20
> >> syntax on
> >> That's it if you still don't see the colors, try to search for some useful
> >> packages
> >> aptitude search vim
> >> and you'll find what you need
> The syntax on works fine.
> But I have another little question, how can I let the match pattern be
> different color in vim.
> Suppose I use /search in command mode, I hope vim will use different
> color mark the "search" in my document.
> I have check the vimrc file, but cannot find the comment option for my
> appreciate your help,
vim has a nice on-line help system you can access with :help.
The answer to your question is :set hlsearch.
Real programmers don't write in BASIC. Actually, no programmers write in
BASIC after reaching puberty.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 189 bytes
Desc: Digital signature
More information about the ubuntu-users