[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnu-arch-users] Vim and hardlinks
From: |
Jason McCarty |
Subject: |
Re: [Gnu-arch-users] Vim and hardlinks |
Date: |
Thu, 11 Mar 2004 17:56:22 -0500 |
User-agent: |
Mutt/1.5.4i |
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.
It is a bit hard to find, and you have to do it in a roundabout way. Set
backupcopy=no. This makes vim rename the file to a backup, write the
file anew, then delete the backup, effectively breaking the link. You
might also want to set backupskip="" if you work in /tmp (or $TMPDIR
etc.), because vim by default doesn't make backups in those directories.
I guess I oughtta put this on the Wiki.
--
Jason McCarty <address@hidden>
- [Gnu-arch-users] Vim and hardlinks, John F Meinel Jr, 2004/03/10
- Re: [Gnu-arch-users] Vim and hardlinks, Simon Ekstrand, 2004/03/12
- Re: [Gnu-arch-users] Vim and hardlinks, Jan Hudec, 2004/03/12
- [Gnu-arch-users] Re: Vim and hardlinks, Miles Bader, 2004/03/12
- Re: [Gnu-arch-users] Vim and hardlinks,
Jason McCarty <=
- Re: [Gnu-arch-users] Vim and hardlinks, Aaron Bentley, 2004/03/13
- [Gnu-arch-users] Re: Vim and hardlinks, Nikolai Weibull, 2004/03/13
- Re: [Gnu-arch-users] Vim and hardlinks, Jani Monoses, 2004/03/13