On 21/02/09 13:03, kba wrote:
> On Sat, Feb 21, 2009 at 11:57:07AM +0100, Benct Philip Jonsson wrote:
>> Does vimrc have to be ~/.vimrc or can it be ~/.vim/vimrc
>> too?  I'm on Ubuntu, BTW.
>
> It can be whereever you like it, as long as you symlink ~/.vimrc to the
> real file. In your case, executing
>
> $ mv ~/.vimrc ~/.vim/vimrc
> $ ln -s ~/.vim/vimrc ~/.vimrc
>
> should do the trick.
>
> - kba

Right; I always forget that my own /root/.vimrc is a symlink to 
/home/tonymec/.vimrc, giving my non-root username ownership over the 
file (of course, root can edit anything), and starting Vim with exactly 
the same settings regardless of whether I'm running it as root or as my 
personal non-root username.


Best regards,
Tony.
-- 
I also believe that academic freedom should protect the right of a
professor or student to advocate Marxism, socialism, communism, or any
other minority viewpoint -- no matter how distasteful to the majority.
                -- Richard M. Nixon

What are our schools for if not indoctrination against Communism?
                -- Richard M. Nixon

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to