0
0
mirror of https://github.com/vim/vim.git synced 2025-09-29 04:34:16 -04:00

patch 8.2.2128: there is no way to do something on CTRL-Z

Problem:    There is no way to do something on CTRL-Z.
Solution:   Add VimSuspend and VimResume autocommand events. (closes #7450)
This commit is contained in:
Bram Moolenaar
2020-12-11 19:30:34 +01:00
parent 1b884a0053
commit 100118c73a
7 changed files with 67 additions and 1 deletions

View File

@@ -1344,6 +1344,8 @@ enum auto_event
EVENT_WINENTER, // after entering a window
EVENT_WINLEAVE, // before leaving a window
EVENT_WINNEW, // when entering a new window
EVENT_VIMSUSPEND, // before Vim is suspended
EVENT_VIMRESUME, // after Vim is resumed
NUM_EVENTS // MUST be the last one
};