> On 9-Mar-2010, at 06:08, KKde wrote:
>>
>> On Mar 9, 11:29 am, LuKreme<krem...@kreme.com> wrote:
>>> When I run gvim, I get syntax coloring all over the place, even in USENET posting all the headers and quotes and signatures are color coded.
>>>
>>> But when I run vim, there's no syntax coloring at all.
>>>
>>
>> Looks like, your .gvimrc has syntax on setting, but .vimrc doesn't
>> have. Can you check those?
>
> I don't have either of those files. I have a .viminfo file, but it looks like it contains a list of recent files and commands.
>
>
>
Well, open Vim then, and do the following:
:e ~/.vimrc
If what you said above is true, you'll see an empty buffer, and maybe at
the bottom of the screen something like
".vimrc" [New File]
Type the following two lines into this file (no indent necessary):
runtime vimrc_example.vim
" add any user customizations here
then save it, quit (:wq) and restart Vim. You should then have syntax
coloring in any files you edit.
Best regards,
Tony.
--
"Have you lived here all your life?"
"Oh, twice that long."
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
No comments:
Post a Comment