AckslD / nvim-neoclip.lua

Clipboard manager neovim plugin with telescope integration
931 stars 19 forks source link

Neoclip is really slow with tmux on macOS #125

Closed marcelarie closed 1 month ago

marcelarie commented 1 month ago

This might be related to tmux, but maybe it happens to someone else and can help me.

When I use Neovim outside of tmux, it works perfectly after using cp to copy to clipboard, but inside tmux it freezes for some seconds. I have pbcopy and my neovim version is NVIM v0.11.0-dev-37+g14f9aacc9

AckslD commented 1 month ago

Hi @marcelarie, do you use continuous sync? Not sure why it would be affected by tmux but just wondering if it has anything to do with #121

marcelarie commented 1 month ago

I just realized that the startup is slow too inside tmux even without the plugin installed.

marcelarie commented 1 month ago

Ok it had to do with setting the default-shell to fish in tmux.conf:

This line was the issue:

set-option -g default-shell /opt/homebrew/bin/fish