fanglingsu/vimb — pull request #113 by kstep (2014-10-15 12:00:09+00:00)
Title: Autocommands for mode enter/leave events (see issue #100)

Following up #100, I wanted to implement more autocommands.
As I'm not very good at C, I wanted to start with something simple, so I implemented autocommands for modes enter/leave events.

Please review my code. Is it viable enough? If you have any proposals/fixes/improvements in your mind, I'll be happy to learn from you.

Thanks.