diff options
author | Bram Moolenaar <Bram@vim.org> | 2011-05-19 17:25:41 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2011-05-19 17:25:41 +0200 |
commit | e659c95b01b04b353e60d728d32bcb17f8ff832c (patch) | |
tree | 3323ea64a3ce4a6129ba7d0de5114e0ded35b6c8 /src/vim.h | |
parent | 496f9517cb2630cd902be85e51e3ab395a194e85 (diff) | |
download | vim-e659c95b01b04b353e60d728d32bcb17f8ff832c.zip |
updated for version 7.3.196
Problem: Can't intercept a character that is going to be inserted.
Solution: Add the InsertCharPre autocommand event. (Jakson A. Aquino)
Diffstat (limited to 'src/vim.h')
-rw-r--r-- | src/vim.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1274,6 +1274,7 @@ enum auto_event EVENT_WINENTER, /* after entering a window */ EVENT_WINLEAVE, /* before leaving a window */ EVENT_ENCODINGCHANGED, /* after changing the 'encoding' option */ + EVENT_INSERTCHARPRE, /* before inserting a char */ EVENT_CURSORHOLD, /* cursor in same position for a while */ EVENT_CURSORHOLDI, /* idem, in Insert mode */ EVENT_FUNCUNDEFINED, /* if calling a function which doesn't exist */ |