Wednesday, October 1, 2008

Vim : stop making a tilda/tilde file

I came across two ways to do it:
(i) :set nobackup and :set nowritebackup
but it didn't work for me.

(ii) :set backupdir=$VIMRUNTIME/vim_backup
it worked for me. Bascially create a directory, where the backup files(tilda files)
will be created. Surprisingly, the backup files are not being created here.
And nowhere else.

I am using gvim on Windows btw.

No comments:

Blog Archive