Results 1 to 6 of 6
Hi all,
Niraj here. after upgrading to Jaunty version(9.04), if I am opening any shell script file,
all lines are of same color.
I also checked in /home/<user>/.vimrc file , ...
- 05-06-2009 #1Just Joined!
- Join Date
- Apr 2009
- Location
- Bangalore,India
- Posts
- 10
VI editor problem- color scheme
Hi all,
Niraj here. after upgrading to Jaunty version(9.04), if I am opening any shell script file,
all lines are of same color.
I also checked in /home/<user>/.vimrc file , and there the "syn on" option is there.
Still same problem. Can any body help me how to change the color syntax so that it will be easier to read the lines inside any script.
- 05-06-2009 #2
Follow these steps.
mkdir -p .vim/colorscd .vim/colorsadd these entries.vim .vimrc
save and quit vim. :wqsyntax on
colorscheme adrian
done.
You can get more color schemes, as per syntax Here
Download and add these .vim text files in your .vim/colors, and you can set these schemes in vim or .vimrc
- 05-06-2009 #3Just Joined!
- Join Date
- Apr 2009
- Location
- Bangalore,India
- Posts
- 10
Hi b2b,
I tried with the steps you gave. But still its not working.
while opeing the link you have given, did not work through wget(showing 404 error)
Error
-------------------
HTTP request sent, awaiting response... 404
2009-05-06 23:20:58 ERROR 404: (no description).
-----------
So I opened the site and there I copy all and saved it in a notepad and named it as adrain.vim and did the necessary changes in the .vimrc file as instructed.
Still not resolved. Also tried with other .vim files . Still did not work
Better give me your .vimrc file with adrain.vim . Will check by copying both to my system.
- 05-07-2009 #4Thats all my .vimrcsyntax on
colorscheme adrian
do you have vim installed or just vi
- 05-07-2009 #5Just Joined!
- Join Date
- Apr 2009
- Location
- Bangalore,India
- Posts
- 10
Mine is .vim not vi... because previous version... i.e. 8.** was working fine. Only in this version I am getting this problem.
- 05-08-2009 #6
try installing vim-full


Reply With Quote