Monday, January 19, 2015

Re: semicolon to repeat "f" delay

On 2015-01-19 20:22, surge wrote:
> What has always puzzled me is that the ";" command to repeat the
> last "f" or "F" command always takes too long. There's a noticable
> delay which I think happens because vim waits if something is about
> to follow the ";". As a result I prefer to use "f" one more time
> instead.
>
> Why the delay and what to do about it?

This sounds suspiciously like you have some mapping set to start with
";" or you've mapped the "leader" to ";", so Vim is waiting to see if
you're going to type another character to complete the mapping.

The better solution is to track down which of those cases is causing
the problem and shift the mapping/leader to a different character.

However, if you're hard-wired to use the ";" as a mapping/leader,
then you can adjust your timeout/ttimeout/timeoutlen/ttimeoutlen
settings.

-tim


--
--
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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: