[changed the subject to avoid my ISP rejecting the message]

Josh Triplett wrote:

> vim -w or -W records all the keystrokes entered in Vim.  If running on
> an xterm or another terminal that supports requesting the terminal
> version, vim will do so, and process the resulting version response to
> set a few options.  In the process of doing so, it ends up recording
> three extra bytes at the beginning of the script file:

[...]

> I don't know the correct fix.  Possibly something should set tb_maplen
> to mark the character as the result of a map, or possibly the character
> shouldn't get re-inserted into typebuf at all.

I know about this issue.  I just never bothered to find a nice solution
than returning K_IGNORE.  But it's not too difficult to do this in a
better day and return nothing.  I'll make a patch for that.

-- 
Keyboard not found.  Think ENTER to continue.

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