call timer_start(500, 'SetLazyRedraw')
endif
+autocmd VimLeave * call writefile([getcwd()], expand('~/tmp/vim/cwd'))
+
" This has to go to the very end of ~/.vimrc to allow reading the .vimrc
set secure " safer working with script files in the current directory