On Fr, 27 Aug 2010, Tintin72 wrote:
> >Did you use sudo vim instead of sudo -e ?
>
> Yes I did. I don't know sudo -e. What it's about ?
I think the problem originally was, that sudo preserved your $HOME
environment variable, which may or may not be what you want but this
lead to the .viminfo file being owned by root. (sudo -i should prevent
that, by the way).
There are several bug reports about it, here are 2 that I randomly
googled:
https://bugs.launchpad.net/ubuntu/+bug/58002
https://bugs.launchpad.net/ubuntu/+source/vim/+bug/93449
BTW, instead of sudo -e I usually use sudoedit.
regards,
Christian
--
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
No comments:
Post a Comment