summaryrefslogtreecommitdiff
path: root/src/autocmd.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-12-11 19:30:34 +0100
committerBram Moolenaar <Bram@vim.org>2020-12-11 19:30:34 +0100
commit100118c73ac068137cd298d22953896242752523 (patch)
tree4d9312af425ba7ccfd334237df32980d0f6ab8d6 /src/autocmd.c
parent1b884a0053982335f644eec6c71027706bf3c522 (diff)
downloadvim-git-100118c73ac068137cd298d22953896242752523.tar.gz
patch 8.2.2128: there is no way to do something on CTRL-Zv8.2.2128
Problem: There is no way to do something on CTRL-Z. Solution: Add VimSuspend and VimResume autocommand events. (closes #7450)
Diffstat (limited to 'src/autocmd.c')
-rw-r--r--src/autocmd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/autocmd.c b/src/autocmd.c
index a82659f65..c3aa324b3 100644
--- a/src/autocmd.c
+++ b/src/autocmd.c
@@ -191,6 +191,8 @@ static struct event_name
{"WinLeave", EVENT_WINLEAVE},
{"VimResized", EVENT_VIMRESIZED},
{"TextYankPost", EVENT_TEXTYANKPOST},
+ {"VimSuspend", EVENT_VIMSUSPEND},
+ {"VimResume", EVENT_VIMRESUME},
{NULL, (event_T)0}
};