On 08/03/09 06:44, Hiroshi Iwatani wrote:
> Thanks.
> Tony is the greatest again, as usual.
> On my .vimrc file inherited from the previous distro has the line:
>
> set backupdir=$HOME/vimbackups
>
> But I didn't create the vimbackups dir on my root directory. Vim doesn't make 
> it automatically, either.
>
> I have made it. Now, everything works fine. The big irritating splinter's 
> gone.
> Small issue can give prolonging big pain ...

The advantage of having a 'backupdir' starting with . is that (a) it is 
usually possible to create backups in the same directory as the file; 
(b) it avoids problems if you edit files with the same name in different 
directories (such as ftplugin/html.vim and syntax/html.vim) (c) since 
that is the default, it allows getting the |ATTENTION| warning if you 
(or you and someone else) try to edit the same file in two different 
Vims, which of course can be courting disaster if both made changes then 
save their own changes, with the one saving last overriding any changes 
made by the other... Sometimes I do want to open the same file in two 
Vims, but that warning is then a healthy "roadsign" reminding me that 
one of them should be read-only.

Best regards,
Tony.
-- 
"I wouldn't recommend sex, drugs or insanity for everyone, but they've
always worked for me."
                -- Hunter S. Thompson

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

Reply via email to