Friday, April 18, 2014

Re: Multiple vim configurations for root

On 2014-04-18, Magee, Fred wrote:
> 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 realize this is not what you asked for, but you may be interested in
the SudoEdit plugin (http://www.vim.org/scripts/script.php?script_id=2709).
It will allow you to read and write files using your sudo or su
permissions while running a vim instance that you started as a normal
user.

Regards,
Gary

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: