Friday, April 18, 2014

Multiple vim configurations for root

The other Linux system admin and I have dramatically different ideas about how vim should be configured. Is it possible for me to create a test for user id and use my vim configuration  including plugins etc.  that I can use when using vim as root? For example is there an environment variable vim uses for config files I can set when I su to root?

 

I’m running several versions of vim over Red Hat RHEL 4, 5, 6 and RH9. The most common is 7.0.237.

 

Fred Magee, DTM

Systems Programmer

(505)768-2978

(505)768-4615 (Fax)

(505)205-5753 (Cell)

fmagee@cabq.gov

 

No comments: