From b7407d3fc9496f9048fb65ab17b5ba3444965c0e Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 3 Feb 2018 17:36:27 +0100 Subject: patch 8.0.1459: cannot handle change of directory Problem: Cannot handle change of directory. Solution: Add the DirChanged autocommand event. (Andy Massimino, closes #888) Avoid changing directory for 'autochdir' too often. --- src/vim.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/vim.h') diff --git a/src/vim.h b/src/vim.h index 1f9671a18..ad372351e 100644 --- a/src/vim.h +++ b/src/vim.h @@ -1276,6 +1276,7 @@ enum auto_event EVENT_CMDWINLEAVE, /* before leaving the cmdline window */ EVENT_COLORSCHEME, /* after loading a colorscheme */ EVENT_COMPLETEDONE, /* after finishing insert complete */ + EVENT_DIRCHANGED, /* after changing directory as a result of user cmd */ EVENT_FILEAPPENDPOST, /* after appending to a file */ EVENT_FILEAPPENDPRE, /* before appending to a file */ EVENT_FILEAPPENDCMD, /* append to a file using command */ -- cgit v1.2.1