-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please improve the performance. #1357
Comments
@jinleileiking interesting results, May I ask what other plugins are there in your config other than NERDTree? For example " FUNCTION: Path.refreshFlags(nerdtree) {{{1
function! s:Path.refreshFlags(nerdtree)
call g:NERDTreePathNotifier.NotifyListeners('refreshFlags', self, a:nerdtree, {})
call self.cacheDisplayString()
endfunction Call to the |
You can also try using #1362, Setting |
Plug 'PhilRunninger/nerdtree-buffer-ops' |
It seems this plugin cost a lot of CPU. I disable this plugin, works well |
@jinleileiking I'm happy to hear that you've found the issue, Since it probably wasn't the original author's problem I'll leave this open. |
Description
My folder has about 2k-3k files. When refreshing, it's very flow, taking about 4-5 seconds (on Windows OS). The refreshing appears to be a sync func. Etc during the refresh, whole vim get freezed, which makes auto fresh unusable, https://superuser.com/questions/1141994/autorefresh-nerdtree.
Also when expanding for the 1st time, it's very slow too.
Other plugin, such https://github.com/lambdalisue/fern.vim, is much faster (on Windows OS)
Thanks.
The text was updated successfully, but these errors were encountered: