A couple of doc patches I forgot to include:
*** autocmd.txt Fri May 5 14:37:12 2006 --- autocmd.txt.new Fri May 5 14:37:24 2006 *************** *** 795,800 **** --- 795,811 ---- WinLeave autocommands (but not for ":new"). Not used for ":qa" or ":q" when exiting Vim. + *GetChar* + 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. + 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. + ============================================================================== 6. Patterns *autocmd-patterns* *{pat}* *** eval.txt Fri May 5 14:36:43 2006 --- eval.txt.new Fri May 5 14:36:32 2006 *************** *** 1338,1343 **** --- 1338,1351 ---- v:foldstart Used for 'foldtext': first line of closed fold. Read-only in the |sandbox|. |fold-foldtext| + *v:getchar* + v:getchar Contains the character currently intercepted by the |GetChar| + autocommand event. + + *v:getchartype* + v:getchartype Contains special flags for |v:getchar|. Values can be '', + 'KeyTyped', or 'KeyStuffed'. + *v:insertmode* *insertmode-variable* v:insertmode Used for the |InsertEnter| and |InsertChange| autocommand events. Values: