Re: Enable vim color?

2007-06-17 Thread Wayne Topa
Vladimir Strycek([EMAIL PROTECTED]) is reported to have said:
> Hi all,
> 
> i used vim before on debian and when i was editing my python scripts ( i 
> use vim mainly for python coding ) i've got nice colored syntax and so 
> on... here in debian i have only black and white.
> 
> I tried command :syntax enable or :syntax on but it say " Sorry, the 
> command is not available in this version: syntax on" but mine version of 
> vim is  7.0.122 which is not that old i think.
> 
> Any idea how to enable this ? or better yet any specialized colored 
> python editor for console ssh ?

I am runing vim/vim-common 1:7.0-219+1 in testing.  ISTR that on a
recent upgrade, I to, lost syntax highlighting.  Looking in the .vimrc
I found this, which was commented out.
-
" Vim5 and later versions support syntax highlighting. Uncommenting the next
" 3 lines enables syntax highlighting by default.
if has("syntax") && &t_Co > 2
  syntax on
syntax on
au FileType c syntax on
---

HTH

Wayne

-- 
"Imagine if every Thursday your shoes exploded if you tied them the
usual way.  This happens to us all the time with computers, and nobody
thinks of complaining."
-- Jeff Raskin, interviewed in Doctor Dobb's Journal
___


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Enable vim color?

2007-06-17 Thread Nelson Castillo

>
Thanks i installed vim-python and its working like charm now :-)


Good :)

It's good to know that you only need "vim-python" if you actually wish to
use vim scripts written in python. To edit python files you'll be fine
with "vim".

Regards.


--
http://arhuaco.org
http://emQbit.com


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Enable vim color?

2007-06-17 Thread Vladimir Strycek

Nelson Castillo  wrote / napĂ­sal(a):

On 6/17/07, Vladimir Strycek <[EMAIL PROTECTED]> wrote:

Hi all,

i used vim before on debian and when i was editing my python scripts ( i
use vim mainly for python coding ) i've got nice colored syntax and so
on... here in debian i have only black and white.

I tried command :syntax enable or :syntax on but it say " Sorry, the
command is not available in this version: syntax on" but mine version of
vim is  7.0.122 which is not that old i think.


Make sure that you have "vim" installed. You get a minimal one by 
default.


aptitude install vim

Regards.


Thanks i installed vim-python and its working like charm now :-)


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Enable vim color?

2007-06-17 Thread Nelson Castillo

On 6/17/07, Vladimir Strycek <[EMAIL PROTECTED]> wrote:

Hi all,

i used vim before on debian and when i was editing my python scripts ( i
use vim mainly for python coding ) i've got nice colored syntax and so
on... here in debian i have only black and white.

I tried command :syntax enable or :syntax on but it say " Sorry, the
command is not available in this version: syntax on" but mine version of
vim is  7.0.122 which is not that old i think.


Make sure that you have "vim" installed. You get a minimal one by default.

aptitude install vim

Regards.

--
http://arhuaco.org
http://emQbit.com


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Enable vim color?

2007-06-17 Thread Vladimir Strycek

Hi all,

i used vim before on debian and when i was editing my python scripts ( i 
use vim mainly for python coding ) i've got nice colored syntax and so 
on... here in debian i have only black and white.


I tried command :syntax enable or :syntax on but it say " Sorry, the 
command is not available in this version: syntax on" but mine version of 
vim is  7.0.122 which is not that old i think.


Any idea how to enable this ? or better yet any specialized colored 
python editor for console ssh ?


Best regards
Vladimir


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]