* sc <tooth...@swbell.net> [2009-11-01 13:27 -0600]: > > How do I apply the user vimrc, color template and plugin > > for the above two situations? > > I just start using Ubuntu 9.10, and have not used linux > > before. > > what worked for me is this: as root i changed directory to > /root -- there i created symbolic links to my ~/.vimrc, > ~/.gvimrc, and ~/.vim path, where '~' means the home path of > my normal user
I think that a better way is to setup environment: # ~/.profile, ~/.bashrc, ~/.zshenv, etc. EDITOR=vim VISUAL=$EDITOR export EDITOR VISUAL and: $ sudoedit file --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---