From be5ee8686a50acf07b823bd293f9c765e533d213 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Wed, 10 Jun 2020 20:56:58 +0200 Subject: patch 8.2.0952: no simple way to interrupt Vim Problem: No simple way to interrupt Vim. Solution: Add the SigUSR1 autocommand, triggered by SIGUSR1. (Jacob Hayes, closes #1718) --- src/autocmd.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/autocmd.c') diff --git a/src/autocmd.c b/src/autocmd.c index 937e74187..8e0754b69 100644 --- a/src/autocmd.c +++ b/src/autocmd.c @@ -161,6 +161,7 @@ static struct event_name {"SessionLoadPost", EVENT_SESSIONLOADPOST}, {"ShellCmdPost", EVENT_SHELLCMDPOST}, {"ShellFilterPost", EVENT_SHELLFILTERPOST}, + {"SigUSR1", EVENT_SIGUSR1}, {"SourceCmd", EVENT_SOURCECMD}, {"SourcePre", EVENT_SOURCEPRE}, {"SourcePost", EVENT_SOURCEPOST}, -- cgit v1.2.1