--- files/vimrc-r3 2006-03-25 12:26:27.000000000 -0800 +++ /tmp/vimrc-r3 2013-03-10 16:10:16.159880240 -0700 @@ -148,7 +148,7 @@ " Better to emerge app-vim/gentoo-syntax, which provides full syntax, " filetype and indent settings for all things Gentoo. au BufRead,BufNewFile *.e{build,class} let is_bash=1|setfiletype sh - au BufRead,BufNewFile *.e{build,class} set ts=4 sw=4 noexpandtab + au BufRead,BufNewFile *.e{build,class} setlocal ts=4 sw=4 noexpandtab " In text files, limit the width of text to 78 characters, but be careful " that we don't override the user's setting. @@ -167,7 +167,7 @@ " When editing a crontab file, set backupcopy to yes rather than auto. See " :help crontab and bug #53437. - autocmd FileType crontab set backupcopy=yes + autocmd FileType crontab setlocal backupcopy=yes augroup END