Skip to content

Conversation

abeldekat
Copy link

📑 Description

See this discussion in LazyVim
Also see this pr in LazyVim

TLDR:
Startup time performance is affected quite significantly when the clipboard provider is xsel(linux) or pbcopy(macos). I expect an improvement in these cases, especially on older pc's.

This PR makes sure that vim.opt.clipboard is only applied after UiEnter

@mehalter
Copy link
Member

Thanks so much for this recommendation! I modified the code slightly to decrease the number of conditional checks and merged it manually with this commit: 3bc1868

I made sure to set the authorship as well :) Thanks again!

@mehalter mehalter closed this Jul 22, 2024
@abeldekat
Copy link
Author

Thanks! Happy to contribute!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants