set viminfo='10,\"100,:20,%,n~/.viminfo
if it still does not work, the problem is likely to be that the ~/.viminfo does not belong to your account. Use the following command to fix it:
sudo chown YourUserName:YourGroup ~/.viminfo
sudo chown YourUserName:YourGroup ~/.viminfo
No comments:
Post a Comment