On 15/04/11 14:27, Steve wrote:
Hi Tony,
Thanks for your answer.
I've been experiencing a strange behaviour when typing several keys
*quickly*. The email address I use for mailing lists is the one I use
here. From time to time, I have to type it in a message. And lastly,
when I type it *quickly*, the screen just erases itself, leaving a blank
screen and I loose total control over it. The only solution is to
manually close is. The strange thing is that if I type slowly, this
behaviour doesn't happen. So to sum up: typing
dlist@
triggers the strange behaviour (it's at the @ caracter).
I've noticed that the cursor stays say a second on the last caracter
typed then move one space to the right, but not with all caracters.
Example are 's', 'd'. Other caracters don't show this.
I don't know how to troubleshoot this.
Any help would be greatly appreciated.
Have nice day,
Steve
"Waiting one second" is a typical behaviour when Vim is waiting to
see whether you'll type the {lhs} of a multi-character mapping.
- Do you sometimes forget to set Insert mode before typing this address?
No, this happens only in Insert mode.
- If the "one second wait" happens, let's say, at the letter s (but
not at the i preceding it), try
I changed s for d.
:verbose map d
Nothing
:verbose map! d
It shows my mapping which is
! dlist<[email protected]>
which I put in ~/.vim/mappings
If I comment out this line, the problem dissapears. The strange thing is
that I have other mappings for email addresses, but no problem with
those.
Strange isn't it?
Thanks for your help,
steve
Well, I guess with a different {lhs}, for instance
:inoremap !d [email protected]
it will probably work.
Or else, maybe it's just a missing refresh: try (in Insert mode) Esc
Ctrl-L a if the screen gets blank again.
Best regards,
Tony.
--
*** NEWSFLASH ***
Russian tanks steamrolling through New Jersey!!!! Details at eleven!
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php