Reputation: 30963
Im using centos 5.5 and installed vim 7 i defined syntax off in vimrc , and it removed me most of the syntax coloring , but i still have colors when i move to curly braces , and when i search for string in source its paint me the result with yellow , all so when i do code completion its also with colors how do i remove all colors from vim i want it to be like old vi.
Upvotes: 1
Views: 1690
Reputation: 4283
You might want to try disabling syntax different way as :syntax=off
doesn't turn off all the colors. Try using following :set syntax=off
or i believe :set syntax=
should work as well. This should disable all the colors, including Line number.
For follow up question regarding the colors of line numbers (if anyone want's to disable just that):
you can disable the colors of the Line numbers by doing following: :hi LineNr ctermfg=white
(really not disabling, just making it white)
You can use :hi
to change the colors of mostly anything in VI to make them white or any color, really.
Upvotes: 1
Reputation: 80031
Write this stuff in ~/.vimrc
set nohlsearch
- disables highlighted searchlet g:loaded_matchparen=1
- disable brace/paren/bracket matchingUpvotes: 3