I haven't been very happy with using vim in an xterm with various settings of "mouse=", "selectmode=" and others. Part of this may be that the Fedora build is missing some features related to things like "* doesn't seem to work, and "shift right mouse button" doesn't set "paste".
What I'm really looking for is that when I paste using the mouse, that "paste" is set. I really don't want things like selecting text to move my mouse, selected text goes into a select buffer in a different dimention, paste pastes text from a select buffer in that the "evil me" selected in another dimension, etc... :-) In short, I'd like to have some way for my cut and pastes in vim to work the same way they do in other xterm applications, but with the "paste" option set. I was thinking that it would be neat to set paste whenever it noticed that there was a more than, say, 10 characters entered in a second, or that the input buffer had a bunch of text in it. I tried to implement this using the autocmds, but the CursorHoldI,CursorMovedI hooks only fire once after the whole text is pasted. I imagine that something like the escape detection code could be used, in reverse. If, over the last 100ms, more than a few characters have been seen on the input, or the input buffer has more than N characters in it, enable paste. I've been hoping to find time to implement this, but it just hasn't happened. I thought I'd at least mention it on the dev list so it would get recorded as a feature request, in case someone else has the time. Thoughts? Thanks, Sean -- "If life was fair, Elvis would be alive and all the impersonators would be dead." -- Johnny Carson Sean Reifschneider, Member of Technical Staff <[EMAIL PROTECTED]> tummy.com, ltd. - Linux Consulting since 1995: Ask me about High Availability