nerdtree/nerdtree_plugin
Phil Runninger ae1c0004ec
Suppress events for intermediate window/tab/buffer changes (#1026)
* Add an optional parameter to neredtree#exec to suppress all events.

The value doesn't matter, but 1 is a good choice. Its presence is an
indicator that tells NERDTree to tell Vim to ignore all events. I'm not
yet sure if there needs to be an else section to that if block. It may
be OK to allow all events to fire in the right situations.

* Supress events in all intermediate nerdtree#exec calls.

Finding all the right function calls is the key here.

* Make ignoreAll a required parameter to nerdtree#exec().

* Put required ignoreAll argument (==0) in where it's now needed.

* Ignore events when creating a new vertical split.

* Ignore events when closing NERDTree. This may need to be reverted.

* Remove debugging statment and commented-out code.

* Wrap remaining buffer/window-switching commands in nerdtree#exec().

* Update version number.

* Add a space between arguments in nerdtree#exec() calls.
2019-08-08 22:00:35 -04:00
..
exec_menuitem.vim remove some unneeded header comments 2015-11-13 16:54:47 +00:00
fs_menu.vim Suppress events for intermediate window/tab/buffer changes (#1026) 2019-08-08 22:00:35 -04:00
vcs.vim Add new command to open NERDTree in the root of a VCS repository. (#872) 2018-12-12 13:30:13 -05:00