LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Color Coded Vim (https://www.linuxquestions.org/questions/linux-software-2/color-coded-vim-104794/)

podollb 10-16-2003 01:42 PM

Color Coded Vim
 
I use vim at home and when I ssh to work and use vim there are no colors in the program (it is not a big deal but is nice when syntax highlighting is occuring during development) so does anyone know where I define the colors for vim or why the colors would show up via ssh to the remote server when running vim?

thllgo 10-16-2003 02:41 PM

There should be a file ~/.vimrc, in that file should be the line
:syn on
If you don't see colors that line may read
:syn off
change it to :syn on
I had the opposite problem, I hated the colors and wanted to turn them off.:)

podollb 10-16-2003 03:15 PM

no ~/.vimrc

I do have a .viminfo but it doesn't have anything like :syn in it

any other ideas?

thllgo 10-16-2003 03:25 PM

Create one and put it in.

podollb 10-16-2003 04:45 PM

Thanks!

thllgo 10-16-2003 04:52 PM

Your wellcome, hope it helps


All times are GMT -5. The time now is 07:53 PM.