vim, was Re: [Techtalk] Great Mistakes I Have Made

Glenda R. Snodgrass grs at
Mon Jan 28 15:31:51 EST 2002

> Edit (or create) your .vimrc in your home directory.
> Add the line 'set backup' on a line of its own.

Ah, I see, thanks! Now it creates a backup file filename~ in that dir when
I write. You encouraged me to look at the docs, so now I have 2 new lines
in my .vimrc :

	set backup
	set backupdir=/home/grs/bak

so my backups all go in one place where I can corral them and clear 'em
out periodically.  Thanks for the tip!

Glenda R. Snodgrass

Before you begin, consider ... The Net Effect
(251) 433-0196

More information about the Techtalk mailing list