On Jan 20, 2015 1:23 AM, "Sergei Gerasenko" <[email protected]> wrote: > > Oh yeah, quite a few mappings starting from ; Problem solved. Thanks, guys! > > On Mon, Jan 19, 2015 at 10:56 PM, Erik Falor <[email protected]> wrote: >> >> On Mon, Jan 19, 2015 at 08:22:05PM -0800, surge wrote: >> > Hi, >> > >> > 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? >> >> You probably have one or more mappings which begin with ";". The >> delay happens because Vim needs to see if you are going to type >> another character, which will determine whether you want to execute >> the mapping or use the default behavior of ";". >> >> Try >> >> :verbose map ; >> >> to find out which mappings begin with ";" and whence they come. >> >> The duration of the delay is also configurable. See >> >> :help timeoutlen >> >> for more information about that. >> >> -- >> Erik Falor >> Registered Linux User #445632 http://linuxcounter.net
I solved this problem by mapping ;; to ; as in: noremap ;; ; Now, I just hit it twice. Doesn't take much longer to do and is faster than waiting for the timeout. Salman -- -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
