[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnu-arch-users] Vim and hardlinks

From: Simon Ekstrand
Subject: Re: [Gnu-arch-users] Vim and hardlinks
Date: Thu, 11 Mar 2004 22:35:53 +0100
User-agent: Mutt/

On Tue, Mar 09, 2004 at 02:46:59AM -0600, John F Meinel Jr wrote:
> Does anyone know how to configure Vim to break hard-links? I'm really 
> curious to try out the --link flag, but I haven't seen any documentation 
> of how to configure vim.

Yepp, set the 'backup' option to enable file backups and set backupcopy
to 'no'. The problem with this though is that it also breaks symlinks,
which is probably generally not desirable. I've posted a patch to
vim-dev to permit breaking of hard-links but not symlinks, hopefully it
will be accepted into vim once a few issues have been resolved.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]