GetChar event patch : Adds a new event intercepting char reads
| script karma
Downloaded by 496
Comments, bugs, improvements
|When compiled with this patch, Vim will have a new event, "GetChar".
The doc page patch:
GetChar Called immediately after a character is
received from the user or typeahead buffer,
and before it is processed. The character is
available in the |v:getchar| variable as a
string (not a number). Changing |v:getchar|
changes the value returned by the
|getchar()|function. The |v:getchartype|
variable can be blank, 'KeyTyped', or
'KeyStuffed', depending on how the character
was obtained. Setting |v:getchar| to ''
essentially skips the current character.
|Apply the patches to the source files, and check out the test script.
Rating scripts is only available on the
script versions (upload new version)
Click on the package to download.
ip used for rating: 188.8.131.52