brainarm38802
asked on
vi adding ~ after filename
I am using Mandrake Linux 9. I have vim installed. For some reason when I edit a pre-existing file, it (when I save and exit) creates a duplicate file with the same name, but with a ~ (tilda) at the end (Ex. "filename.html~").
This is annoying because I dont want a ton of "filename.html~" files in my apache document root.
I suspect it is something with the way vim is configured, but I do not know, any suggestions?
Matthew Brainard
brainarm@insight.rr.com
This is annoying because I dont want a ton of "filename.html~" files in my apache document root.
I suspect it is something with the way vim is configured, but I do not know, any suggestions?
Matthew Brainard
brainarm@insight.rr.com
it is for ur benefit only .. it is the bakup file .. if ur system crashes while ur in the middle of editing.. u can retrieve the old file from the backed up file..
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
read all the options ..
backup
backupcopy
backupdir
backupnext
backupskip
backup
backupcopy
backupdir
backupnext
backupskip
ASKER
Your answer wasnt direct... but from what you gave me, I was able to turn it off.
For future reference for anyone else:
if you edit the /usr/share/vim/vimrc file, you can disable backup if you want.
For future reference for anyone else:
if you edit the /usr/share/vim/vimrc file, you can disable backup if you want.