vim-plugin-minibufexpl icon indicating copy to clipboard operation
vim-plugin-minibufexpl copied to clipboard

buffer switching gets slower with the number of open files

Open numerodix opened this issue 11 years ago • 10 comments

With 19 buffers open switching between successive tabs takes about 1 second. With 3 buffers open it's basically instantaneous.

numerodix avatar Nov 16 '13 14:11 numerodix

I just realized this is fixed by disabling miniBufExplCheckDupeBufs. I can't believe the fix is so simple, this has been bugging me for months. It's even documented in the file source, but I've never read all those comments before.

numerodix avatar Nov 16 '13 15:11 numerodix

Which version of MBE you are using? 'miniBufExplCheckDupeBufs' is supposing to be obsolete, it's not documented in the doc anymore in the master.

weynhamz avatar Nov 16 '13 15:11 weynhamz

It's a github checkout from I don't know exactly when, but the latest version listed at the bottom of the file is 6.4.1b5 .

numerodix avatar Nov 16 '13 15:11 numerodix

It has been in 6.5 for a while, you might need to consider updating your MBE to the master.

weynhamz avatar Nov 16 '13 15:11 weynhamz

Good idea. One thing though.. In the version I was running I could cycle tabs and wrap around as well. Is that still possible?

numerodix avatar Nov 16 '13 15:11 numerodix

Yes, but a little setting g:miniBufExplCycleArround might need to be enabled, and besides, now you can cycle the buffers in a most recently used fasion.

weynhamz avatar Nov 16 '13 15:11 weynhamz

Ah yes. The variable name looks like a misspelling, is that intentional?

numerodix avatar Nov 16 '13 16:11 numerodix

Yes, they were unified to the same format a while ago, just read the doc.

发自我的 iPhone

在 2013年11月17日,0:02,Martin Matusiak [email protected] 写道:

Ah yes. The variable name looks like a misspelling, is that intentional?

— Reply to this email directly or view it on GitHub.

weynhamz avatar Nov 16 '13 16:11 weynhamz

"arround" instead of "around"?

numerodix avatar Nov 16 '13 16:11 numerodix

Oh,that is a misspelling,sorry. I will fix the doc soon.

发自我的 iPhone

在 2013年11月17日,0:12,Martin Matusiak [email protected] 写道:

"arround" instead of "around"?

— Reply to this email directly or view it on GitHub.

weynhamz avatar Nov 16 '13 16:11 weynhamz