Dear Maintainer, Turning off the netrw's banner (netrw-I), via g:netrw_banner and or by pressing "I" in the Explorer causes the cursor to flicker permanently and the CPU usage goes up to 50% or so. In the case of using the g:netrw_banner option, you have to open the Explorer first to make the effect visible. I don't use any plugins and my configuration is quite minimal. The effect does not happen in plain old vim. Cheers, Bastian
I can't reproduce this. “nvim --clean” followed by “:e .” and pressing I doesn't result in flickering or high CPU usage. If this “nvim --clean” works fine, then I'd suggest looking through your config and “:scriptnames” to see what may be affecting it. Cheers,
I think it is related to wl-copy, which is installed and used on all my machines where this error occurs. More specifically, when browsing /tmp and turning off the banner, I can actually see folders like `wl-copy-buffer-XXXXX` appearing and disappearing in very quick succession. I suspect this is related to that buggy behavior. I've issued a bugreport upstream: https://github.com/neovim/neovim/issues/23650 with steps to reproduce: cd /tmp nvim --clean :set clipboard=unnamedplus :Explore <I> # press 'I' to disable the banner in netrw can you try to reproduce it with these steps? This behavior is BTW also reproducible in vim. Cheers, Bastian Am 18.06.23 um 04:04 schrieb James McCoy:
Ah, that makes sense. Netrw fiddles with the clipboard, which is probably causing wl-copy to update files in /tmp, and therefore netrw tries to refresh its display. I thought neovim had patched out most/all of netrw's clipboard stuff, but maybe some got missed. As a workaround, it may be worth trying to setup autocommands to update 'clipboard' such that you don't have unnamedplus in use when you're in a netrw buffer. Cheers,