csatblogspotdotcom

Monday, March 3, 2008

vimrc

In Ubuntu OS, vimrc is in /etc/vimrc & in my home directory a file called .viminfo. At first I can't open the file into the line where I closed it as before. Then I scanned vimrc but found nothing exceptional. After some trying I found that when I use the prefix sudo I can enter a file at where I closed it. Thus I have seen that there must be something wrong with the authority of some file. Changed authority of vimrc to "cs cs", it doesn't work. At last I changed authority of .viminfo to "cs cs", succeed!

Labels: ,

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home