Results 1 to 4 of 4
Hi,
I've aliased vi to gvim and every time I'm done editing a file, a file~ temp file remains.
This happens even when no crash or problem of any sort ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 03-17-2008 #1Just Joined!
- Join Date
- Mar 2008
- Posts
- 7
Removing Gvim temp files automatically
Hi,
I've aliased vi to gvim and every time I'm done editing a file, a file~ temp file remains.
This happens even when no crash or problem of any sort happened (and that is highly undesirable as you can imagine
Does anyone have a fix to that?
Thanks!
- 03-17-2008 #2
Whenever you edit any file, OS creates a backup copy of it ( filename~ ). You have to delete those files manually.
Code:find . -name "*~" -type f -print0|xargs -0 rm
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 03-17-2008 #3Just Joined!
- Join Date
- Mar 2008
- Posts
- 7
hehe I know that

I just meant "is there a way to desactivate the automatic saving"?
- 08-22-2008 #4Just Joined!
- Join Date
- Aug 2008
- Posts
- 1
Hi
please append at the end of vimrc
set nobackup
set nowritebackup


Reply With Quote
