Thanks guys.. soft link is working fine for me.. On Thu, Apr 8, 2010 at 10:32 PM, Marc Weber <[email protected]> wrote: > Excerpts from joy c's message of Fri Apr 09 04:06:09 +0200 2010: >> Hi, >> >> How can I have a command .vimrc , plugins and other vim settings >> common to both users and root user? >> >> Currently I have everything set up with my username when I su to root >> all my vim settings are gone. > > a) use sym or hardlinks as others have noted. > > b) create a custom vimplugin directory and ask users to add one line to > their .vimrc: > > set runtimepath=the-new-shared-dir > > .vimrc settings can be written into a plugin file. > > Maybe you can create this .vimrc file automatically? > > Marc Weber > > -- > 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 > > To unsubscribe, reply using "remove me" as the subject. >
-- 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
