On Thu, 20 Apr 2006 at 1:04pm, Bram Moolenaar wrote: > > Hari Krishna Dara wrote: > > > On the lines of InsertEnter and InsertLeave, can we please have > > CommandEnter and CommandLeave that will get triggered when the user > > starts one of the :, /, ?, = etc. modes? The reason I ask is, with the > > addition of getcmdtype(), it is now possible to create maps and > > abbreviations dynamically that only apply to a particular type of > > prompt, provided we can know when the mode starts and when it ends. > > It's too close to a release to add that now. It already was in the todo > list. >
Thanks, I will wait for them to be added, hopefully in 7.1 or a patch for 7.0? Using these autocommands will make my script a lot cleaner and reliable to detect when the command prompt is done. -- Thanks, Hari __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com