Is it possible to stop VIM from automatically creating a backup for only a specific file?

I have a running todo list I keep on my desktop, and I don't get any use out of the ~todo that constantly appears.

I do, however, wish to keep the backup function for all other files though...is this possible?

link|improve this question

feedback

2 Answers

up vote 3 down vote accepted
autocmd BufRead ~/Desktop/todo setl nobackup
link|improve this answer
feedback
set backupskip=$HOME/Desktop/todo
link|improve this answer
that, along with variants of $HOME, did not work – espais Sep 27 '11 at 23:26
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.