Mercurial > vim
comparison src/vim.h @ 13037:6e81a68d63a1 v8.0.1394
patch 8.0.1394: cannot intercept a yank command
commit https://github.com/vim/vim/commit/7e1652c63c96585b9e2235c195a3c322b1f11595
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Dec 16 18:27:02 2017 +0100
patch 8.0.1394: cannot intercept a yank command
Problem: Cannot intercept a yank command.
Solution: Add the TextYankPost autocommand event. (Philippe Vaucher et al.,
closes #2333)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 16 Dec 2017 18:30:05 +0100 |
parents | dd734ee3e2fe |
children | 59a16624400a |
comparison
equal
deleted
inserted
replaced
13036:754780887de1 | 13037:6e81a68d63a1 |
---|---|
1337 EVENT_SHELLFILTERPOST, /* after ":1,2!cmd", ":w !cmd", ":r !cmd". */ | 1337 EVENT_SHELLFILTERPOST, /* after ":1,2!cmd", ":w !cmd", ":r !cmd". */ |
1338 EVENT_TEXTCHANGED, /* text was modified */ | 1338 EVENT_TEXTCHANGED, /* text was modified */ |
1339 EVENT_TEXTCHANGEDI, /* text was modified in Insert mode*/ | 1339 EVENT_TEXTCHANGEDI, /* text was modified in Insert mode*/ |
1340 EVENT_CMDUNDEFINED, /* command undefined */ | 1340 EVENT_CMDUNDEFINED, /* command undefined */ |
1341 EVENT_OPTIONSET, /* option was set */ | 1341 EVENT_OPTIONSET, /* option was set */ |
1342 EVENT_TEXTYANKPOST, /* after some text was yanked */ | |
1342 NUM_EVENTS /* MUST be the last one */ | 1343 NUM_EVENTS /* MUST be the last one */ |
1343 }; | 1344 }; |
1344 | 1345 |
1345 typedef enum auto_event event_T; | 1346 typedef enum auto_event event_T; |
1346 | 1347 |
1986 #define VV_TERMRFGRESP 81 | 1987 #define VV_TERMRFGRESP 81 |
1987 #define VV_TERMRBGRESP 82 | 1988 #define VV_TERMRBGRESP 82 |
1988 #define VV_TERMU7RESP 83 | 1989 #define VV_TERMU7RESP 83 |
1989 #define VV_TERMSTYLERESP 84 | 1990 #define VV_TERMSTYLERESP 84 |
1990 #define VV_TERMBLINKRESP 85 | 1991 #define VV_TERMBLINKRESP 85 |
1991 #define VV_LEN 86 /* number of v: vars */ | 1992 #define VV_EVENT 86 |
1993 #define VV_LEN 87 /* number of v: vars */ | |
1992 | 1994 |
1993 /* used for v_number in VAR_SPECIAL */ | 1995 /* used for v_number in VAR_SPECIAL */ |
1994 #define VVAL_FALSE 0L | 1996 #define VVAL_FALSE 0L |
1995 #define VVAL_TRUE 1L | 1997 #define VVAL_TRUE 1L |
1996 #define VVAL_NONE 2L | 1998 #define VVAL_NONE 2L |