-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQEcBAEBAgAGBQJQ/PI7AAoJEFDgLr75E3sP61UIAMYwlzwQ2BkU878O5XPuwyxW
Of5wvmxf8uc6LKHs13BwRZ35VizHtj/Q0kEOjEkzKlKdlNd3cjubjQjvcylkhpZr
MMXfI/dBKcULZwLHYcsMFeuiBTDRfzkz2FAzJc4Dj8Bq4FNBBAQx/gBhGydXN7u1
NSSk9GUAISxu6JjF1Ih5hsX4edztVtaAG1B6QkYo460ccriTTIITFrHFLn+j/bAK
xBE4BFdrQg53G8l9mKfuLtCDuAkE7KSKCkzJnhSHU8D7TRzOzp2Vyy9LX16/2FsY
1Hon2TmBwpnpJRPHPZZvX47bEHflDP84BiBb6dSOr9yYkvUheQELZTEnftC6t3g=
=l8uh
-----END PGP SIGNATURE-----
On 01/21/2013 07:24 AM, ping wrote:
> vim backup file is great in 99% scenarios, but it's annoying to create
> an un-wanted file in some system directories, especially in dirs that
> contains configurations for apps.
> how, can I disable the backup file creation, right when I launch vim to
> read a file?
>
> I know another workaround is to just launch vim without any file, turn
> off backup file creation, and then open the files...
I'm not aware of an option to turn backups off on a per file basis but I
always set in my vimrc the directory to which the backups are saved:
'set backup
set backupdir=~/.backup'
Cheers,
Phil...
--
currently (ab)using
CentOS 5.8 & 6.3, Debian Squeeze & Wheezy, Fedora Beefy & Spherical,
Lubuntu 12.10, OS X Snow Leopard & Ubuntu Precise & Quantal
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment