Add TextYankPost and TextDeletePost autocmds

Reviewed by @watiko

Ported from de53ab72c8
This commit is contained in:
Shougo Matsushita
2016-02-20 12:59:03 +09:00
committed by Björn Linse
parent 9c4b34be28
commit f2ae5a9cc0
5 changed files with 89 additions and 0 deletions

View File

@@ -83,6 +83,8 @@ return {
'TermResponse', -- after setting "v:termresponse"
'TextChanged', -- text was modified
'TextChangedI', -- text was modified in Insert mode
'TextDeletePost', -- after a delete command was done (dd, dw, D)
'TextYankPost', -- after a yank command was done (yy, yw, Y)
'User', -- user defined autocommand
'VimEnter', -- after starting Vim
'VimLeave', -- before exiting Vim