summaryrefslogtreecommitdiff
path: root/src/vim.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2011-05-19 17:25:41 +0200
committerBram Moolenaar <Bram@vim.org>2011-05-19 17:25:41 +0200
commite659c95b01b04b353e60d728d32bcb17f8ff832c (patch)
tree3323ea64a3ce4a6129ba7d0de5114e0ded35b6c8 /src/vim.h
parent496f9517cb2630cd902be85e51e3ab395a194e85 (diff)
downloadvim-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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vim.h b/src/vim.h
index 490206a7e..9fc1070b6 100644
--- a/src/vim.h
+++ b/src/vim.h
@@ -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 */