comparison src/vim.h @ 23165:a916fca16d4b v8.2.2128

patch 8.2.2128: there is no way to do something on CTRL-Z Commit: https://github.com/vim/vim/commit/100118c73ac068137cd298d22953896242752523 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Dec 11 19:30:34 2020 +0100 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 https://github.com/vim/vim/issues/7450)
author Bram Moolenaar <Bram@vim.org>
date Fri, 11 Dec 2020 19:45:04 +0100
parents ad674a98058a
children a789a688e37d
comparison
equal deleted inserted replaced
23164:99ef85ff1af4 23165:a916fca16d4b
1342 EVENT_VIMLEAVEPRE, // before exiting Vim and writing .viminfo 1342 EVENT_VIMLEAVEPRE, // before exiting Vim and writing .viminfo
1343 EVENT_VIMRESIZED, // after Vim window was resized 1343 EVENT_VIMRESIZED, // after Vim window was resized
1344 EVENT_WINENTER, // after entering a window 1344 EVENT_WINENTER, // after entering a window
1345 EVENT_WINLEAVE, // before leaving a window 1345 EVENT_WINLEAVE, // before leaving a window
1346 EVENT_WINNEW, // when entering a new window 1346 EVENT_WINNEW, // when entering a new window
1347 EVENT_VIMSUSPEND, // before Vim is suspended
1348 EVENT_VIMRESUME, // after Vim is resumed
1347 1349
1348 NUM_EVENTS // MUST be the last one 1350 NUM_EVENTS // MUST be the last one
1349 }; 1351 };
1350 1352
1351 typedef enum auto_event event_T; 1353 typedef enum auto_event event_T;