diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-06-10 20:56:58 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-06-10 20:56:58 +0200 |
commit | be5ee8686a50acf07b823bd293f9c765e533d213 (patch) | |
tree | fc5056db66c81eefa83a30afae305b9b027677d8 /runtime | |
parent | 6ba24d87630b1ec2b8c7ff71550c9e41d143800e (diff) |
patch 8.2.0952: no simple way to interrupt Vimv8.2.0952
Problem: No simple way to interrupt Vim.
Solution: Add the SigUSR1 autocommand, triggered by SIGUSR1. (Jacob Hayes,
closes #1718)
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/autocmd.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/runtime/doc/autocmd.txt b/runtime/doc/autocmd.txt index 4d24ed79f4..613dd8561c 100644 --- a/runtime/doc/autocmd.txt +++ b/runtime/doc/autocmd.txt @@ -380,6 +380,7 @@ Name triggered by ~ info |User| to be used in combination with ":doautocmd" +|SigUSR1| after the SIGUSR1 signal has been detected The alphabetical list of autocommand events: *autocmd-events-abc* @@ -1158,6 +1159,7 @@ TextYankPost After text has been yanked or deleted in the It is not allowed to change the buffer text, see |textlock|. {only when compiled with the +eval feature} + *User* User Never executed automatically. To be used for autocommands that are only executed with @@ -1166,6 +1168,15 @@ User Never executed automatically. To be used for used while there are no matching autocommands, you will get an error. If you don't want that, define a dummy autocommand yourself. + + *SigUSR1* +SigUSR1 After the SIGUSR1 signal has been detected. + Could be used if other ways of notifying Vim + are not feasible. E.g. to check for the + result of a build that takes a long time, or + when a motion sensor is triggered. + {only on Unix} + *UserGettingBored* UserGettingBored When the user presses the same key 42 times. Just kidding! :-) |