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 /runtime/doc/map.txt | |
parent | 496f9517cb2630cd902be85e51e3ab395a194e85 (diff) | |
download | vim-git-e659c95b01b04b353e60d728d32bcb17f8ff832c.tar.gz |
updated for version 7.3.196v7.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 'runtime/doc/map.txt')
-rw-r--r-- | runtime/doc/map.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/doc/map.txt b/runtime/doc/map.txt index ec21d15ff..ceb29013d 100644 --- a/runtime/doc/map.txt +++ b/runtime/doc/map.txt @@ -226,7 +226,7 @@ text before the cursor and start omni completion when some condition is met. For abbreviations |v:char| is set to the character that was typed to trigger the abbreviation. You can use this to decide how to expand the {lhs}. You -can't change v:char and you should not insert it. +you should not either insert or change the v:char. Be very careful about side effects! The expression is evaluated while obtaining characters, you may very well make the command dysfunctional. |