nvim-workbench icon indicating copy to clipboard operation
nvim-workbench copied to clipboard

Extremely slow to open

Open jackfranklin opened this issue 2 years ago • 3 comments

Have you seen an issue where the notes window is extremely slow (multiple seconds) to open?

This is using the branch workbench - but only on a small git repo so I would not expect it to be slow. I will try and debug/profile but wondered if this is something you had noticed at all. Thanks.

jackfranklin avatar Oct 29 '23 14:10 jackfranklin

I have not. I am still using this plugin daily, and so far opening both branch and project workbenches has been almost instant on my end.

But I am happy to look into it if you can provide more info.

weizheheng avatar Oct 29 '23 14:10 weizheheng

Thanks for letting me know! I will do some debugging and see if I can work out what's causing it.

On Sun, 29 Oct 2023, 14:30 Wei Zhe, @.***> wrote:

I have not. I am still using this plugin daily, and so far opening both branch and project workbenches has been almost instant on my end.

But I am happy to look into it if you can provide more info.

— Reply to this email directly, view it on GitHub https://github.com/weizheheng/nvim-workbench/issues/11#issuecomment-1784129856, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABPFVV3VAMV3VMEXAUG5OLYBZR7VAVCNFSM6AAAAAA6U33B5GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBUGEZDSOBVGY . You are receiving this because you authored the thread.Message ID: @.***>

jackfranklin avatar Oct 29 '23 15:10 jackfranklin

Thanks for letting me know! I will do some debugging and see if I can work out what's causing it. On Sun, 29 Oct 2023, 14:30 Wei Zhe, @.> wrote: I have not. I am still using this plugin daily, and so far opening both branch and project workbenches has been almost instant on my end. But I am happy to look into it if you can provide more info. — Reply to this email directly, view it on GitHub <#11 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABPFVV3VAMV3VMEXAUG5OLYBZR7VAVCNFSM6AAAAAA6U33B5GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBUGEZDSOBVGY . You are receiving this because you authored the thread.Message ID: @.>

Not sure if it's related, but this just come across my mind. Does it has something to do with your keybinding?

:nnoremap <leader>bb

It gives me this CleanShot 2023-10-31 at 17 22 58@2x

I do remember coming across with issues like this, say I have another keybind for <leader>bba

CleanShot 2023-10-31 at 17 24 43@2x

Then yeah, when I do <leader>bb, it will have a 2-3 seconds delay before showing the workbench, I guess it has something to do with nvim waiting if we are going to hit another key because there's also another keybind for <leader>bba

weizheheng avatar Oct 31 '23 09:10 weizheheng