|
|
|
|
||||||
| linux.debian.user debian-user@lists.debian.org. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
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 debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
On 6/17/07, Vladimir Strycek <vladoportos@vladoportos.sk> 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 debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
Nelson Castillo wrote / napísal(a):
> On 6/17/07, Vladimir Strycek <vladoportos@vladoportos.sk> 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 debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
> >
> 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 debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#5 |
|
Messages: n/a
Hébergeur: |
Vladimir Strycek(vladoportos@vladoportos.sk) 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 debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
![]() |
| Outils de la discussion | |
|
|