]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 8.2.3430: no generic way to trigger an autocommand on mode change v8.2.3430
author=?UTF-8?q?Magnus=20Gro=C3=9F?= <magnus.gross@rwth-aachen.de>
Sun, 12 Sep 2021 11:39:55 +0000 (13:39 +0200)
committerBram Moolenaar <Bram@vim.org>
Sun, 12 Sep 2021 11:39:55 +0000 (13:39 +0200)
commitf1e8876fa2359b572d262772747405d3616db670
tree1b33a32bccaa4522f14f2aad8ee8044295635d0b
parent464393a6961d9b9de2bfe9c05f8e2ae5bdec0293
patch 8.2.3430: no generic way to trigger an autocommand on mode change

Problem:    No generic way to trigger an autocommand on mode change.
Solution:   Add the ModeChanged autocommand event. (Magnus Gross, closes #8856)
13 files changed:
runtime/doc/autocmd.txt
src/autocmd.c
src/edit.c
src/ex_docmd.c
src/ex_getln.c
src/globals.h
src/misc1.c
src/normal.c
src/proto/autocmd.pro
src/proto/misc1.pro
src/testdir/test_edit.vim
src/version.c
src/vim.h