Compare your file .viminfo with root's .viminfo. I see several color related lines in the root file that don't appear in the user's .viminfo file. -- Robert P. Nix Mayo Foundation RO-CE-8-857 200 First Street SW 507-284-0844 Rochester, MN 55905 ----- "In theory, theory and practice are the same, but in practice, theory and practice are different." -----Original Message----- From: fedora-list-bounces@xxxxxxxxxx [mailto:fedora-list-bounces@xxxxxxxxxx] On Behalf Of Ben Halicki Sent: Tuesday, February 22, 2005 3:17 PM To: fedora-list@xxxxxxxxxx Subject: Re: sudo in terminal >>When I "vi example.file" the text inside the file is color coded based >>on format (ie. commented out lines are blue). But when I "sudo vi >>example.file" that color coding is lost. How can I enable that when I >>edit a file using sudo? It really helps when you are looking at a long >>config file.