From 530ea28e8927c9a110354fc862cc63122c8cbda7 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Tue, 26 Mar 2013 23:28:24 -0400 Subject: [PATCH] Provide more robust example of disabling 'undofile' --- README.markdown | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.markdown b/README.markdown index 2b667da..7a3ff98 100644 --- a/README.markdown +++ b/README.markdown @@ -82,7 +82,9 @@ don't like them strewn all over the file system, you have a few options. 3. Disable them entirely: - set noundofile + if has('persistent_undo') + set noundofile + endif You can also just globally ignore them in your SCM of choice. That's what I do.