A.J.Mechelynck wrote: > This is done as a result > of sending the t_RV code and receiving an answer for it, which happens > after the first file has been loaded and all -c commands have been > processed: probably just before or just after the VimEnter event. IOW, > you cannot test them in your vimrc or even in a global plugin (they are > sourced too early). At the VimEnter event might be late enough but I > haven't tested it.
Sorry, I meant to address this more explicitly: I tested, and under xterm, .vimrc sees term=xterm, ttymouse=xterm (note that ttymouse later becomes xterm2). Same for screen (except ttymouse doesn't change later). So I was probably a little wrong about the order in which things take place. Regardless, the code change seems to be consistent with the current process. -- Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer... http://micah.cowan.name/
signature.asc
Description: OpenPGP digital signature