<quote who="Stuart Guthrie">
> I guess this can be done with a script wrapper around vi, but does anyone
> know of an option to automagically store the current version of a text
> file prior to saving changes. This used to be a feature on DEC editors and
> I miss it.
In .vimrc add, "set backup". This will create <filename>~ files, which are
fairly standard one-shot backup files written by most *nix editors.
- Jeff
--
"A 'lame' server is a server that is SUPPOSED to be authoritative, but,
when asked, says: 'Me? I know nothing, I'm from Madrid!'" - Ralf
Hildebrandt
--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug