Link to home
Start Free TrialLog in
Avatar of stephaneeybert
stephaneeybert

asked on

A vi question on Linux Mandrake 8.2

I'm using the vi editor on Linux Mandrake 8.2. Every time I save the file, it creates another file, named myfile~ by adding a ~ after the filename.
But I don't want to have this extra backup file created automatically by vi. I'm tired of deleting it all the time.
How can I setup vi so that it does not create such files?

Stephane
ASKER CERTIFIED SOLUTION
Avatar of ThePunisher
ThePunisher

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of stephaneeybert
stephaneeybert

ASKER

I just have a .viminfo file, which contains the history of the editing. I can't find a resource file for vi.
I created a file named .vimrc in my home directory, and now it works fine! Thanks!