Will Gray wrote:

> According to the help, "[CursorHold] is not triggered when waiting for
> a command argument to be typed, or a movement after an operator."
> I've found a case in which 'updatetime' milliseconds after an operator
> is pressed, CursorHold activates *and* repeats the operator keystroke
> (e.g. > becomes >>).  It occurs when 'notimeout' is set and there is a
> map that starts with an operator.
> 
> I tested with the following vimrc (using -u and --noplugin) and Vim
> 7.3.125 built on Ubuntu with jamessan's dpkg build process:
> 
> set notimeout
> augroup vimrcTest
>   autocmd CursorHold * echomsg 'cursor hold'
> augroup END
> nmap >s :echomsg 'map'<CR>

I can reproduce it.

-- 
JOHN CLEESE PLAYED: SECOND SOLDIER WITH A KEEN INTEREST IN BIRDS, LARGE MAN
                    WITH DEAD BODY, BLACK KNIGHT, MR NEWT (A VILLAGE
                    BLACKSMITH INTERESTED IN BURNING WITCHES), A QUITE
                    EXTRAORDINARILY RUDE FRENCHMAN, TIM THE WIZARD, SIR
                    LAUNCELOT
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
You received this message from the "vim_dev" 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

Raspunde prin e-mail lui