I do have those lines in /etc/vimrc but it is still all white when I sudo vi a file? What changes when sudo? Does it not pull from the global config in /etc/vimrc?

Most likely, vi is actualy an alias for vim. When you 'sudo vi fubar', the sudo isn't picking up the alias so you actually run 'vi' instead of 'vim'.


--[Lance]

--
 Celebrate The Circle: http://www.celebratethecircle.org/
 Carolina Spirit Quest:  http://www.carolinaspiritquest.org/
 My LiveJournal: http://www.livejournal.com/users/labrown/
 GPG Fingerprint: 409B A409 A38D 92BF 15D9 6EEE 9A82 F2AC 69AC 07B9

-=-=-
...    There's never enough time to do all the nothing you want.
                  -- Calvin
* TagZilla 0.057 * http://tagzilla.mozdev.org
--
TriLUG mailing list        : http://www.trilug.org/mailman/listinfo/trilug
TriLUG Organizational FAQ  : http://trilug.org/faq/
TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
TriLUG PGP Keyring         : http://trilug.org/~chrish/trilug.asc

Reply via email to