Mercurial > vim
diff src/vim.h @ 12656:0a9dacb8826a v8.0.1206
patch 8.0.1206: no autocmd for entering or leaving the command line
commit https://github.com/vim/vim/commit/fafcf0dd59fd9c4ef743bb333ae40d1d322b6079
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Oct 19 18:35:51 2017 +0200
patch 8.0.1206: no autocmd for entering or leaving the command line
Problem: No autocmd for entering or leaving the command line.
Solution: Add CmdlineEnter and CmdlineLeave.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 19 Oct 2017 18:45:05 +0200 |
parents | b1a7e3968a31 |
children | 351cf7c67bbe |
line wrap: on
line diff
--- a/src/vim.h +++ b/src/vim.h @@ -1295,6 +1295,8 @@ enum auto_event EVENT_BUFWRITEPOST, /* after writing a buffer */ EVENT_BUFWRITEPRE, /* before writing a buffer */ EVENT_BUFWRITECMD, /* write buffer using command */ + EVENT_CMDLINEENTER, /* after entering the command line */ + EVENT_CMDLINELEAVE, /* before leaving the command line */ EVENT_CMDWINENTER, /* after entering the cmdline window */ EVENT_CMDWINLEAVE, /* before leaving the cmdline window */ EVENT_COLORSCHEME, /* after loading a colorscheme */